AppLovinSDK-Swift.h 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. #if 0
  2. #elif defined(__arm64__) && __arm64__
  3. // Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
  4. #ifndef APPLOVINSDK_SWIFT_H
  5. #define APPLOVINSDK_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 "-Wduplicate-method-match"
  24. #pragma clang diagnostic ignored "-Wauto-import"
  25. #if defined(__OBJC__)
  26. #include <Foundation/Foundation.h>
  27. #endif
  28. #if defined(__cplusplus)
  29. #include <cstdint>
  30. #include <cstddef>
  31. #include <cstdbool>
  32. #else
  33. #include <stdint.h>
  34. #include <stddef.h>
  35. #include <stdbool.h>
  36. #endif
  37. #if !defined(SWIFT_TYPEDEFS)
  38. # define SWIFT_TYPEDEFS 1
  39. # if __has_include(<uchar.h>)
  40. # include <uchar.h>
  41. # elif !defined(__cplusplus)
  42. typedef uint_least16_t char16_t;
  43. typedef uint_least32_t char32_t;
  44. # endif
  45. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  46. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  47. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  48. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  49. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  50. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  51. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  52. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  53. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  54. typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  55. typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  56. typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  57. #endif
  58. #if !defined(SWIFT_PASTE)
  59. # define SWIFT_PASTE_HELPER(x, y) x##y
  60. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  61. #endif
  62. #if !defined(SWIFT_METATYPE)
  63. # define SWIFT_METATYPE(X) Class
  64. #endif
  65. #if !defined(SWIFT_CLASS_PROPERTY)
  66. # if __has_feature(objc_class_property)
  67. # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  68. # else
  69. # define SWIFT_CLASS_PROPERTY(...)
  70. # endif
  71. #endif
  72. #if __has_attribute(objc_runtime_name)
  73. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  74. #else
  75. # define SWIFT_RUNTIME_NAME(X)
  76. #endif
  77. #if __has_attribute(swift_name)
  78. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  79. #else
  80. # define SWIFT_COMPILE_NAME(X)
  81. #endif
  82. #if __has_attribute(objc_method_family)
  83. # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  84. #else
  85. # define SWIFT_METHOD_FAMILY(X)
  86. #endif
  87. #if __has_attribute(noescape)
  88. # define SWIFT_NOESCAPE __attribute__((noescape))
  89. #else
  90. # define SWIFT_NOESCAPE
  91. #endif
  92. #if __has_attribute(ns_consumed)
  93. # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
  94. #else
  95. # define SWIFT_RELEASES_ARGUMENT
  96. #endif
  97. #if __has_attribute(warn_unused_result)
  98. # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  99. #else
  100. # define SWIFT_WARN_UNUSED_RESULT
  101. #endif
  102. #if __has_attribute(noreturn)
  103. # define SWIFT_NORETURN __attribute__((noreturn))
  104. #else
  105. # define SWIFT_NORETURN
  106. #endif
  107. #if !defined(SWIFT_CLASS_EXTRA)
  108. # define SWIFT_CLASS_EXTRA
  109. #endif
  110. #if !defined(SWIFT_PROTOCOL_EXTRA)
  111. # define SWIFT_PROTOCOL_EXTRA
  112. #endif
  113. #if !defined(SWIFT_ENUM_EXTRA)
  114. # define SWIFT_ENUM_EXTRA
  115. #endif
  116. #if !defined(SWIFT_CLASS)
  117. # if __has_attribute(objc_subclassing_restricted)
  118. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  119. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  120. # else
  121. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  122. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  123. # endif
  124. #endif
  125. #if !defined(SWIFT_RESILIENT_CLASS)
  126. # if __has_attribute(objc_class_stub)
  127. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
  128. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
  129. # else
  130. # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
  131. # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
  132. # endif
  133. #endif
  134. #if !defined(SWIFT_PROTOCOL)
  135. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  136. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  137. #endif
  138. #if !defined(SWIFT_EXTENSION)
  139. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  140. #endif
  141. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  142. # if __has_attribute(objc_designated_initializer)
  143. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  144. # else
  145. # define OBJC_DESIGNATED_INITIALIZER
  146. # endif
  147. #endif
  148. #if !defined(SWIFT_ENUM_ATTR)
  149. # if defined(__has_attribute) && __has_attribute(enum_extensibility)
  150. # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  151. # else
  152. # define SWIFT_ENUM_ATTR(_extensibility)
  153. # endif
  154. #endif
  155. #if !defined(SWIFT_ENUM)
  156. # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  157. # if __has_feature(generalized_swift_name)
  158. # 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
  159. # else
  160. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  161. # endif
  162. #endif
  163. #if !defined(SWIFT_UNAVAILABLE)
  164. # define SWIFT_UNAVAILABLE __attribute__((unavailable))
  165. #endif
  166. #if !defined(SWIFT_UNAVAILABLE_MSG)
  167. # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  168. #endif
  169. #if !defined(SWIFT_AVAILABILITY)
  170. # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  171. #endif
  172. #if !defined(SWIFT_WEAK_IMPORT)
  173. # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
  174. #endif
  175. #if !defined(SWIFT_DEPRECATED)
  176. # define SWIFT_DEPRECATED __attribute__((deprecated))
  177. #endif
  178. #if !defined(SWIFT_DEPRECATED_MSG)
  179. # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  180. #endif
  181. #if __has_feature(attribute_diagnose_if_objc)
  182. # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  183. #else
  184. # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  185. #endif
  186. #if defined(__OBJC__)
  187. #if !defined(IBSegueAction)
  188. # define IBSegueAction
  189. #endif
  190. #endif
  191. #if !defined(SWIFT_EXTERN)
  192. # if defined(__cplusplus)
  193. # define SWIFT_EXTERN extern "C"
  194. # else
  195. # define SWIFT_EXTERN extern
  196. # endif
  197. #endif
  198. #if !defined(SWIFT_CALL)
  199. # define SWIFT_CALL __attribute__((swiftcall))
  200. #endif
  201. #if defined(__cplusplus)
  202. #if !defined(SWIFT_NOEXCEPT)
  203. # define SWIFT_NOEXCEPT noexcept
  204. #endif
  205. #else
  206. #if !defined(SWIFT_NOEXCEPT)
  207. # define SWIFT_NOEXCEPT
  208. #endif
  209. #endif
  210. #if defined(__cplusplus)
  211. #if !defined(SWIFT_CXX_INT_DEFINED)
  212. #define SWIFT_CXX_INT_DEFINED
  213. namespace swift {
  214. using Int = ptrdiff_t;
  215. using UInt = size_t;
  216. }
  217. #endif
  218. #endif
  219. #if defined(__OBJC__)
  220. #if __has_feature(modules)
  221. #if __has_warning("-Watimport-in-framework-header")
  222. #pragma clang diagnostic ignored "-Watimport-in-framework-header"
  223. #endif
  224. #endif
  225. #import <AppLovinSDK/AppLovinSDK.h>
  226. #endif
  227. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  228. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  229. #if __has_warning("-Wpragma-clang-attribute")
  230. # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  231. #endif
  232. #pragma clang diagnostic ignored "-Wunknown-pragmas"
  233. #pragma clang diagnostic ignored "-Wnullability"
  234. #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
  235. #if __has_attribute(external_source_symbol)
  236. # pragma push_macro("any")
  237. # undef any
  238. # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AppLovinSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  239. # pragma pop_macro("any")
  240. #endif
  241. #if defined(__OBJC__)
  242. @class NSString;
  243. @interface ALMediationAdapter (SWIFT_EXTENSION(AppLovinSDK))
  244. @property (nonatomic, readonly, copy) NSString * _Nonnull thirdPartySdkName;
  245. @end
  246. #endif
  247. #if defined(__cplusplus)
  248. #endif
  249. #if __has_attribute(external_source_symbol)
  250. # pragma clang attribute pop
  251. #endif
  252. #pragma clang diagnostic pop
  253. #endif
  254. #else
  255. #error unsupported Swift architecture
  256. #endif