No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnityAds-Swift.h 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. #if 0
  2. #elif defined(__arm64__) && __arm64__
  3. // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
  4. #ifndef UNITYADS_SWIFT_H
  5. #define UNITYADS_SWIFT_H
  6. #pragma clang diagnostic push
  7. #pragma clang diagnostic ignored "-Wgcc-compat"
  8. #if !defined(__has_include)
  9. # define __has_include(x) 0
  10. #endif
  11. #if !defined(__has_attribute)
  12. # define __has_attribute(x) 0
  13. #endif
  14. #if !defined(__has_feature)
  15. # define __has_feature(x) 0
  16. #endif
  17. #if !defined(__has_warning)
  18. # define __has_warning(x) 0
  19. #endif
  20. #if __has_include(<swift/objc-prologue.h>)
  21. # include <swift/objc-prologue.h>
  22. #endif
  23. #pragma clang diagnostic ignored "-Wauto-import"
  24. #include <Foundation/Foundation.h>
  25. #include <stdint.h>
  26. #include <stddef.h>
  27. #include <stdbool.h>
  28. #if !defined(SWIFT_TYPEDEFS)
  29. # define SWIFT_TYPEDEFS 1
  30. # if __has_include(<uchar.h>)
  31. # include <uchar.h>
  32. # elif !defined(__cplusplus)
  33. typedef uint_least16_t char16_t;
  34. typedef uint_least32_t char32_t;
  35. # endif
  36. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  37. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  38. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  39. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  40. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  41. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  42. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  43. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  44. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  45. typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  46. typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  47. typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  48. #endif
  49. #if !defined(SWIFT_PASTE)
  50. # define SWIFT_PASTE_HELPER(x, y) x##y
  51. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  52. #endif
  53. #if !defined(SWIFT_METATYPE)
  54. # define SWIFT_METATYPE(X) Class
  55. #endif
  56. #if !defined(SWIFT_CLASS_PROPERTY)
  57. # if __has_feature(objc_class_property)
  58. # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  59. # else
  60. # define SWIFT_CLASS_PROPERTY(...)
  61. # endif
  62. #endif
  63. #if __has_attribute(objc_runtime_name)
  64. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  65. #else
  66. # define SWIFT_RUNTIME_NAME(X)
  67. #endif
  68. #if __has_attribute(swift_name)
  69. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  70. #else
  71. # define SWIFT_COMPILE_NAME(X)
  72. #endif
  73. #if __has_attribute(objc_method_family)
  74. # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  75. #else
  76. # define SWIFT_METHOD_FAMILY(X)
  77. #endif
  78. #if __has_attribute(noescape)
  79. # define SWIFT_NOESCAPE __attribute__((noescape))
  80. #else
  81. # define SWIFT_NOESCAPE
  82. #endif
  83. #if __has_attribute(ns_consumed)
  84. # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
  85. #else
  86. # define SWIFT_RELEASES_ARGUMENT
  87. #endif
  88. #if __has_attribute(warn_unused_result)
  89. # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  90. #else
  91. # define SWIFT_WARN_UNUSED_RESULT
  92. #endif
  93. #if __has_attribute(noreturn)
  94. # define SWIFT_NORETURN __attribute__((noreturn))
  95. #else
  96. # define SWIFT_NORETURN
  97. #endif
  98. #if !defined(SWIFT_CLASS_EXTRA)
  99. # define SWIFT_CLASS_EXTRA
  100. #endif
  101. #if !defined(SWIFT_PROTOCOL_EXTRA)
  102. # define SWIFT_PROTOCOL_EXTRA
  103. #endif
  104. #if !defined(SWIFT_ENUM_EXTRA)
  105. # define SWIFT_ENUM_EXTRA
  106. #endif
  107. #if !defined(SWIFT_CLASS)
  108. # if __has_attribute(objc_subclassing_restricted)
  109. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  110. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  111. # else
  112. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  113. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  114. # endif
  115. #endif
  116. #if !defined(SWIFT_RESILIENT_CLASS)
  117. # if __has_attribute(objc_class_stub)
  118. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
  119. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
  120. # else
  121. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
  122. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
  123. # endif
  124. #endif
  125. #if !defined(SWIFT_PROTOCOL)
  126. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  127. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  128. #endif
  129. #if !defined(SWIFT_EXTENSION)
  130. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  131. #endif
  132. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  133. # if __has_attribute(objc_designated_initializer)
  134. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  135. # else
  136. # define OBJC_DESIGNATED_INITIALIZER
  137. # endif
  138. #endif
  139. #if !defined(SWIFT_ENUM_ATTR)
  140. # if defined(__has_attribute) && __has_attribute(enum_extensibility)
  141. # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  142. # else
  143. # define SWIFT_ENUM_ATTR(_extensibility)
  144. # endif
  145. #endif
  146. #if !defined(SWIFT_ENUM)
  147. # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  148. # if __has_feature(generalized_swift_name)
  149. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  150. # else
  151. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  152. # endif
  153. #endif
  154. #if !defined(SWIFT_UNAVAILABLE)
  155. # define SWIFT_UNAVAILABLE __attribute__((unavailable))
  156. #endif
  157. #if !defined(SWIFT_UNAVAILABLE_MSG)
  158. # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  159. #endif
  160. #if !defined(SWIFT_AVAILABILITY)
  161. # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  162. #endif
  163. #if !defined(SWIFT_WEAK_IMPORT)
  164. # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
  165. #endif
  166. #if !defined(SWIFT_DEPRECATED)
  167. # define SWIFT_DEPRECATED __attribute__((deprecated))
  168. #endif
  169. #if !defined(SWIFT_DEPRECATED_MSG)
  170. # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  171. #endif
  172. #if __has_feature(attribute_diagnose_if_objc)
  173. # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  174. #else
  175. # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  176. #endif
  177. #if !defined(IBSegueAction)
  178. # define IBSegueAction
  179. #endif
  180. #if !defined(SWIFT_EXTERN)
  181. # if defined(__cplusplus)
  182. # define SWIFT_EXTERN extern "C"
  183. # else
  184. # define SWIFT_EXTERN extern
  185. # endif
  186. #endif
  187. #if __has_feature(modules)
  188. #if __has_warning("-Watimport-in-framework-header")
  189. #pragma clang diagnostic ignored "-Watimport-in-framework-header"
  190. #endif
  191. @import ObjectiveC;
  192. #endif
  193. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  194. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  195. #if __has_warning("-Wpragma-clang-attribute")
  196. # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  197. #endif
  198. #pragma clang diagnostic ignored "-Wunknown-pragmas"
  199. #pragma clang diagnostic ignored "-Wnullability"
  200. #if __has_attribute(external_source_symbol)
  201. # pragma push_macro("any")
  202. # undef any
  203. # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="UnityAds",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  204. # pragma pop_macro("any")
  205. #endif
  206. @class NSString;
  207. SWIFT_CLASS("_TtC8UnityAds13LoggerWrapper")
  208. @interface LoggerWrapper : NSObject
  209. - (void)log:(NSString * _Nonnull)message;
  210. - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
  211. @end
  212. #if __has_attribute(external_source_symbol)
  213. # pragma clang attribute pop
  214. #endif
  215. #pragma clang diagnostic pop
  216. #endif
  217. #elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
  218. // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
  219. #ifndef UNITYADS_SWIFT_H
  220. #define UNITYADS_SWIFT_H
  221. #pragma clang diagnostic push
  222. #pragma clang diagnostic ignored "-Wgcc-compat"
  223. #if !defined(__has_include)
  224. # define __has_include(x) 0
  225. #endif
  226. #if !defined(__has_attribute)
  227. # define __has_attribute(x) 0
  228. #endif
  229. #if !defined(__has_feature)
  230. # define __has_feature(x) 0
  231. #endif
  232. #if !defined(__has_warning)
  233. # define __has_warning(x) 0
  234. #endif
  235. #if __has_include(<swift/objc-prologue.h>)
  236. # include <swift/objc-prologue.h>
  237. #endif
  238. #pragma clang diagnostic ignored "-Wauto-import"
  239. #include <Foundation/Foundation.h>
  240. #include <stdint.h>
  241. #include <stddef.h>
  242. #include <stdbool.h>
  243. #if !defined(SWIFT_TYPEDEFS)
  244. # define SWIFT_TYPEDEFS 1
  245. # if __has_include(<uchar.h>)
  246. # include <uchar.h>
  247. # elif !defined(__cplusplus)
  248. typedef uint_least16_t char16_t;
  249. typedef uint_least32_t char32_t;
  250. # endif
  251. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  252. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  253. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  254. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  255. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  256. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  257. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  258. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  259. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  260. typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  261. typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  262. typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  263. #endif
  264. #if !defined(SWIFT_PASTE)
  265. # define SWIFT_PASTE_HELPER(x, y) x##y
  266. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  267. #endif
  268. #if !defined(SWIFT_METATYPE)
  269. # define SWIFT_METATYPE(X) Class
  270. #endif
  271. #if !defined(SWIFT_CLASS_PROPERTY)
  272. # if __has_feature(objc_class_property)
  273. # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  274. # else
  275. # define SWIFT_CLASS_PROPERTY(...)
  276. # endif
  277. #endif
  278. #if __has_attribute(objc_runtime_name)
  279. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  280. #else
  281. # define SWIFT_RUNTIME_NAME(X)
  282. #endif
  283. #if __has_attribute(swift_name)
  284. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  285. #else
  286. # define SWIFT_COMPILE_NAME(X)
  287. #endif
  288. #if __has_attribute(objc_method_family)
  289. # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  290. #else
  291. # define SWIFT_METHOD_FAMILY(X)
  292. #endif
  293. #if __has_attribute(noescape)
  294. # define SWIFT_NOESCAPE __attribute__((noescape))
  295. #else
  296. # define SWIFT_NOESCAPE
  297. #endif
  298. #if __has_attribute(ns_consumed)
  299. # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
  300. #else
  301. # define SWIFT_RELEASES_ARGUMENT
  302. #endif
  303. #if __has_attribute(warn_unused_result)
  304. # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  305. #else
  306. # define SWIFT_WARN_UNUSED_RESULT
  307. #endif
  308. #if __has_attribute(noreturn)
  309. # define SWIFT_NORETURN __attribute__((noreturn))
  310. #else
  311. # define SWIFT_NORETURN
  312. #endif
  313. #if !defined(SWIFT_CLASS_EXTRA)
  314. # define SWIFT_CLASS_EXTRA
  315. #endif
  316. #if !defined(SWIFT_PROTOCOL_EXTRA)
  317. # define SWIFT_PROTOCOL_EXTRA
  318. #endif
  319. #if !defined(SWIFT_ENUM_EXTRA)
  320. # define SWIFT_ENUM_EXTRA
  321. #endif
  322. #if !defined(SWIFT_CLASS)
  323. # if __has_attribute(objc_subclassing_restricted)
  324. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  325. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  326. # else
  327. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  328. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  329. # endif
  330. #endif
  331. #if !defined(SWIFT_RESILIENT_CLASS)
  332. # if __has_attribute(objc_class_stub)
  333. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
  334. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
  335. # else
  336. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
  337. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
  338. # endif
  339. #endif
  340. #if !defined(SWIFT_PROTOCOL)
  341. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  342. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  343. #endif
  344. #if !defined(SWIFT_EXTENSION)
  345. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  346. #endif
  347. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  348. # if __has_attribute(objc_designated_initializer)
  349. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  350. # else
  351. # define OBJC_DESIGNATED_INITIALIZER
  352. # endif
  353. #endif
  354. #if !defined(SWIFT_ENUM_ATTR)
  355. # if defined(__has_attribute) && __has_attribute(enum_extensibility)
  356. # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  357. # else
  358. # define SWIFT_ENUM_ATTR(_extensibility)
  359. # endif
  360. #endif
  361. #if !defined(SWIFT_ENUM)
  362. # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  363. # if __has_feature(generalized_swift_name)
  364. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  365. # else
  366. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  367. # endif
  368. #endif
  369. #if !defined(SWIFT_UNAVAILABLE)
  370. # define SWIFT_UNAVAILABLE __attribute__((unavailable))
  371. #endif
  372. #if !defined(SWIFT_UNAVAILABLE_MSG)
  373. # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  374. #endif
  375. #if !defined(SWIFT_AVAILABILITY)
  376. # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  377. #endif
  378. #if !defined(SWIFT_WEAK_IMPORT)
  379. # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
  380. #endif
  381. #if !defined(SWIFT_DEPRECATED)
  382. # define SWIFT_DEPRECATED __attribute__((deprecated))
  383. #endif
  384. #if !defined(SWIFT_DEPRECATED_MSG)
  385. # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  386. #endif
  387. #if __has_feature(attribute_diagnose_if_objc)
  388. # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  389. #else
  390. # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  391. #endif
  392. #if !defined(IBSegueAction)
  393. # define IBSegueAction
  394. #endif
  395. #if !defined(SWIFT_EXTERN)
  396. # if defined(__cplusplus)
  397. # define SWIFT_EXTERN extern "C"
  398. # else
  399. # define SWIFT_EXTERN extern
  400. # endif
  401. #endif
  402. #if __has_feature(modules)
  403. #if __has_warning("-Watimport-in-framework-header")
  404. #pragma clang diagnostic ignored "-Watimport-in-framework-header"
  405. #endif
  406. @import ObjectiveC;
  407. #endif
  408. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  409. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  410. #if __has_warning("-Wpragma-clang-attribute")
  411. # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  412. #endif
  413. #pragma clang diagnostic ignored "-Wunknown-pragmas"
  414. #pragma clang diagnostic ignored "-Wnullability"
  415. #if __has_attribute(external_source_symbol)
  416. # pragma push_macro("any")
  417. # undef any
  418. # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="UnityAds",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  419. # pragma pop_macro("any")
  420. #endif
  421. @class NSString;
  422. SWIFT_CLASS("_TtC8UnityAds13LoggerWrapper")
  423. @interface LoggerWrapper : NSObject
  424. - (void)log:(NSString * _Nonnull)message;
  425. - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
  426. @end
  427. #if __has_attribute(external_source_symbol)
  428. # pragma clang attribute pop
  429. #endif
  430. #pragma clang diagnostic pop
  431. #endif
  432. #endif