@adshift/react-native-plugin 2.1.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/AdShiftReactNativePlugin.podspec +20 -4
  2. package/CHANGELOG.md +57 -8
  3. package/README.md +131 -74
  4. package/android/build.gradle +3 -2
  5. package/android/consumer-rules.pro +2 -21
  6. package/android/src/main/AndroidManifest.xml +14 -1
  7. package/android/src/main/java/com/adshift/reactnativeplugin/ActivityIntents.kt +307 -0
  8. package/android/src/main/java/com/adshift/reactnativeplugin/AdShiftReactNativePluginModule.kt +90 -153
  9. package/android/src/test/java/com/adshift/reactnativeplugin/ConsentSnapshotTest.kt +0 -20
  10. package/android/src/test/java/com/adshift/reactnativeplugin/DeepLinkDeliveryTest.kt +40 -7
  11. package/android/src/test/java/com/adshift/reactnativeplugin/InitializeOrderingTest.kt +51 -5
  12. package/android/src/test/java/com/adshift/reactnativeplugin/IntentLinkDedupTest.kt +0 -5
  13. package/android/src/test/java/com/adshift/reactnativeplugin/LaunchIntentForwardingTest.kt +21 -11
  14. package/android/src/test/java/com/adshift/reactnativeplugin/LaunchLinkRecordTest.kt +420 -0
  15. package/android/src/test/java/com/adshift/reactnativeplugin/ModuleTestSupport.kt +97 -25
  16. package/android/src/test/java/com/adshift/reactnativeplugin/StartVerdictTest.kt +0 -4
  17. package/ios/AdShiftReactNativePlugin.h +0 -12
  18. package/ios/AdShiftReactNativePlugin.mm +7 -14
  19. package/ios/AdShiftReactNativePluginHelper.swift +38 -73
  20. package/ios/Core/BridgeRules.swift +42 -30
  21. package/lib/commonjs/Adshift.js +100 -284
  22. package/lib/commonjs/Adshift.js.map +1 -1
  23. package/lib/commonjs/NativeAdShiftReactNativePlugin.js +2 -11
  24. package/lib/commonjs/NativeAdShiftReactNativePlugin.js.map +1 -1
  25. package/lib/commonjs/index.js +6 -0
  26. package/lib/commonjs/index.js.map +1 -1
  27. package/lib/commonjs/jest/index.js +6 -18
  28. package/lib/commonjs/jest/index.js.map +1 -1
  29. package/lib/commonjs/nativeSdkVersions.js +4 -6
  30. package/lib/commonjs/nativeSdkVersions.js.map +1 -1
  31. package/lib/commonjs/types/AdshiftAdRevenue.js +0 -24
  32. package/lib/commonjs/types/AdshiftAdRevenue.js.map +1 -1
  33. package/lib/commonjs/types/AdshiftConfig.js +11 -23
  34. package/lib/commonjs/types/AdshiftConfig.js.map +1 -1
  35. package/lib/commonjs/types/AdshiftConsent.js +9 -45
  36. package/lib/commonjs/types/AdshiftConsent.js.map +1 -1
  37. package/lib/commonjs/types/AdshiftConsentSnapshot.js +5 -24
  38. package/lib/commonjs/types/AdshiftConsentSnapshot.js.map +1 -1
  39. package/lib/commonjs/types/AdshiftDeepLink.js +50 -33
  40. package/lib/commonjs/types/AdshiftDeepLink.js.map +1 -1
  41. package/lib/commonjs/types/AdshiftError.js +7 -27
  42. package/lib/commonjs/types/AdshiftError.js.map +1 -1
  43. package/lib/commonjs/types/AdshiftEventParam.js +4 -38
  44. package/lib/commonjs/types/AdshiftEventParam.js.map +1 -1
  45. package/lib/commonjs/types/AdshiftEventType.js +1 -39
  46. package/lib/commonjs/types/AdshiftEventType.js.map +1 -1
  47. package/lib/commonjs/types/AdshiftThirdPartySharing.js +7 -38
  48. package/lib/commonjs/types/AdshiftThirdPartySharing.js.map +1 -1
  49. package/lib/commonjs/types/index.js +12 -0
  50. package/lib/commonjs/types/index.js.map +1 -1
  51. package/lib/commonjs/version.js +1 -1
  52. package/lib/module/Adshift.js +101 -285
  53. package/lib/module/Adshift.js.map +1 -1
  54. package/lib/module/NativeAdShiftReactNativePlugin.js +2 -12
  55. package/lib/module/NativeAdShiftReactNativePlugin.js.map +1 -1
  56. package/lib/module/index.js +2 -47
  57. package/lib/module/index.js.map +1 -1
  58. package/lib/module/jest/index.js +7 -19
  59. package/lib/module/jest/index.js.map +1 -1
  60. package/lib/module/nativeSdkVersions.js +4 -6
  61. package/lib/module/nativeSdkVersions.js.map +1 -1
  62. package/lib/module/types/AdshiftAdRevenue.js +0 -24
  63. package/lib/module/types/AdshiftAdRevenue.js.map +1 -1
  64. package/lib/module/types/AdshiftConfig.js +10 -23
  65. package/lib/module/types/AdshiftConfig.js.map +1 -1
  66. package/lib/module/types/AdshiftConsent.js +9 -45
  67. package/lib/module/types/AdshiftConsent.js.map +1 -1
  68. package/lib/module/types/AdshiftConsentSnapshot.js +5 -24
  69. package/lib/module/types/AdshiftConsentSnapshot.js.map +1 -1
  70. package/lib/module/types/AdshiftDeepLink.js +49 -32
  71. package/lib/module/types/AdshiftDeepLink.js.map +1 -1
  72. package/lib/module/types/AdshiftError.js +7 -28
  73. package/lib/module/types/AdshiftError.js.map +1 -1
  74. package/lib/module/types/AdshiftEventParam.js +4 -38
  75. package/lib/module/types/AdshiftEventParam.js.map +1 -1
  76. package/lib/module/types/AdshiftEventType.js +1 -39
  77. package/lib/module/types/AdshiftEventType.js.map +1 -1
  78. package/lib/module/types/AdshiftThirdPartySharing.js +7 -38
  79. package/lib/module/types/AdshiftThirdPartySharing.js.map +1 -1
  80. package/lib/module/types/index.js +2 -2
  81. package/lib/module/types/index.js.map +1 -1
  82. package/lib/module/version.js +1 -1
  83. package/lib/typescript/commonjs/src/Adshift.d.ts +68 -184
  84. package/lib/typescript/commonjs/src/Adshift.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/src/NativeAdShiftReactNativePlugin.d.ts +18 -35
  86. package/lib/typescript/commonjs/src/NativeAdShiftReactNativePlugin.d.ts.map +1 -1
  87. package/lib/typescript/commonjs/src/index.d.ts +2 -34
  88. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  89. package/lib/typescript/commonjs/src/jest/index.d.ts +9 -21
  90. package/lib/typescript/commonjs/src/jest/index.d.ts.map +1 -1
  91. package/lib/typescript/commonjs/src/nativeSdkVersions.d.ts +4 -6
  92. package/lib/typescript/commonjs/src/nativeSdkVersions.d.ts.map +1 -1
  93. package/lib/typescript/commonjs/src/types/AdshiftAdRevenue.d.ts +0 -24
  94. package/lib/typescript/commonjs/src/types/AdshiftAdRevenue.d.ts.map +1 -1
  95. package/lib/typescript/commonjs/src/types/AdshiftConfig.d.ts +35 -39
  96. package/lib/typescript/commonjs/src/types/AdshiftConfig.d.ts.map +1 -1
  97. package/lib/typescript/commonjs/src/types/AdshiftConsent.d.ts +9 -49
  98. package/lib/typescript/commonjs/src/types/AdshiftConsent.d.ts.map +1 -1
  99. package/lib/typescript/commonjs/src/types/AdshiftConsentSnapshot.d.ts +10 -28
  100. package/lib/typescript/commonjs/src/types/AdshiftConsentSnapshot.d.ts.map +1 -1
  101. package/lib/typescript/commonjs/src/types/AdshiftDeepLink.d.ts +55 -39
  102. package/lib/typescript/commonjs/src/types/AdshiftDeepLink.d.ts.map +1 -1
  103. package/lib/typescript/commonjs/src/types/AdshiftError.d.ts +7 -26
  104. package/lib/typescript/commonjs/src/types/AdshiftError.d.ts.map +1 -1
  105. package/lib/typescript/commonjs/src/types/AdshiftEventParam.d.ts +3 -19
  106. package/lib/typescript/commonjs/src/types/AdshiftEventParam.d.ts.map +1 -1
  107. package/lib/typescript/commonjs/src/types/AdshiftEventType.d.ts +1 -23
  108. package/lib/typescript/commonjs/src/types/AdshiftEventType.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/src/types/AdshiftThirdPartySharing.d.ts +7 -38
  110. package/lib/typescript/commonjs/src/types/AdshiftThirdPartySharing.d.ts.map +1 -1
  111. package/lib/typescript/commonjs/src/types/index.d.ts +3 -3
  112. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/src/version.d.ts +1 -1
  114. package/lib/typescript/module/src/Adshift.d.ts +68 -184
  115. package/lib/typescript/module/src/Adshift.d.ts.map +1 -1
  116. package/lib/typescript/module/src/NativeAdShiftReactNativePlugin.d.ts +18 -35
  117. package/lib/typescript/module/src/NativeAdShiftReactNativePlugin.d.ts.map +1 -1
  118. package/lib/typescript/module/src/index.d.ts +2 -34
  119. package/lib/typescript/module/src/index.d.ts.map +1 -1
  120. package/lib/typescript/module/src/jest/index.d.ts +9 -21
  121. package/lib/typescript/module/src/jest/index.d.ts.map +1 -1
  122. package/lib/typescript/module/src/nativeSdkVersions.d.ts +4 -6
  123. package/lib/typescript/module/src/nativeSdkVersions.d.ts.map +1 -1
  124. package/lib/typescript/module/src/types/AdshiftAdRevenue.d.ts +0 -24
  125. package/lib/typescript/module/src/types/AdshiftAdRevenue.d.ts.map +1 -1
  126. package/lib/typescript/module/src/types/AdshiftConfig.d.ts +35 -39
  127. package/lib/typescript/module/src/types/AdshiftConfig.d.ts.map +1 -1
  128. package/lib/typescript/module/src/types/AdshiftConsent.d.ts +9 -49
  129. package/lib/typescript/module/src/types/AdshiftConsent.d.ts.map +1 -1
  130. package/lib/typescript/module/src/types/AdshiftConsentSnapshot.d.ts +10 -28
  131. package/lib/typescript/module/src/types/AdshiftConsentSnapshot.d.ts.map +1 -1
  132. package/lib/typescript/module/src/types/AdshiftDeepLink.d.ts +55 -39
  133. package/lib/typescript/module/src/types/AdshiftDeepLink.d.ts.map +1 -1
  134. package/lib/typescript/module/src/types/AdshiftError.d.ts +7 -26
  135. package/lib/typescript/module/src/types/AdshiftError.d.ts.map +1 -1
  136. package/lib/typescript/module/src/types/AdshiftEventParam.d.ts +3 -19
  137. package/lib/typescript/module/src/types/AdshiftEventParam.d.ts.map +1 -1
  138. package/lib/typescript/module/src/types/AdshiftEventType.d.ts +1 -23
  139. package/lib/typescript/module/src/types/AdshiftEventType.d.ts.map +1 -1
  140. package/lib/typescript/module/src/types/AdshiftThirdPartySharing.d.ts +7 -38
  141. package/lib/typescript/module/src/types/AdshiftThirdPartySharing.d.ts.map +1 -1
  142. package/lib/typescript/module/src/types/index.d.ts +3 -3
  143. package/lib/typescript/module/src/types/index.d.ts.map +1 -1
  144. package/lib/typescript/module/src/version.d.ts +1 -1
  145. package/package.json +11 -1
  146. package/src/Adshift.ts +118 -285
  147. package/src/NativeAdShiftReactNativePlugin.ts +19 -47
  148. package/src/index.tsx +7 -46
  149. package/src/jest/index.ts +11 -20
  150. package/src/nativeSdkVersions.ts +4 -6
  151. package/src/types/AdshiftAdRevenue.ts +0 -24
  152. package/src/types/AdshiftConfig.ts +48 -55
  153. package/src/types/AdshiftConsent.ts +9 -49
  154. package/src/types/AdshiftConsentSnapshot.ts +11 -38
  155. package/src/types/AdshiftDeepLink.ts +87 -39
  156. package/src/types/AdshiftError.ts +7 -26
  157. package/src/types/AdshiftEventParam.ts +4 -38
  158. package/src/types/AdshiftEventType.ts +1 -39
  159. package/src/types/AdshiftThirdPartySharing.ts +7 -38
  160. package/src/types/index.ts +9 -2
  161. package/src/version.ts +1 -1
  162. package/vendor/ios/AdshiftSDK.files.json +30 -0
  163. package/vendor/ios/AdshiftSDK.xcframework/Info.plist +44 -0
  164. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/AdshiftSDK +0 -0
  165. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Headers/AdshiftSDK-Swift.h +315 -0
  166. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Info.plist +0 -0
  167. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.abi.json +18729 -0
  168. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +414 -0
  169. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  170. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.swiftinterface +414 -0
  171. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/module.modulemap +4 -0
  172. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/PrivacyInfo.xcprivacy +132 -0
  173. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/AdshiftSDK +0 -0
  174. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Headers/AdshiftSDK-Swift.h +626 -0
  175. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Info.plist +0 -0
  176. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +18729 -0
  177. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +414 -0
  178. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  179. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +414 -0
  180. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +18729 -0
  181. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +414 -0
  182. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  183. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +414 -0
  184. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/module.modulemap +4 -0
  185. package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/PrivacyInfo.xcprivacy +132 -0
@@ -0,0 +1,626 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
4
+ #ifndef ADSHIFTSDK_SWIFT_H
5
+ #define ADSHIFTSDK_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
28
+ #include <Foundation/Foundation.h>
29
+ #endif
30
+ #if defined(__cplusplus)
31
+ #include <cstdint>
32
+ #include <cstddef>
33
+ #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
38
+ #else
39
+ #include <stdint.h>
40
+ #include <stddef.h>
41
+ #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
+ # include <ptrauth.h>
49
+ #else
50
+ #pragma clang diagnostic push
51
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
+ # ifndef __ptrauth_swift_value_witness_function_pointer
53
+ # define __ptrauth_swift_value_witness_function_pointer(x)
54
+ # endif
55
+ # ifndef __ptrauth_swift_class_method_pointer
56
+ # define __ptrauth_swift_class_method_pointer(x)
57
+ # endif
58
+ #pragma clang diagnostic pop
59
+ #endif
60
+ #pragma clang diagnostic pop
61
+ #endif
62
+
63
+ #if !defined(SWIFT_TYPEDEFS)
64
+ # define SWIFT_TYPEDEFS 1
65
+ # if __has_include(<uchar.h>)
66
+ # include <uchar.h>
67
+ # elif !defined(__cplusplus)
68
+ typedef uint_least16_t char16_t;
69
+ typedef uint_least32_t char32_t;
70
+ # endif
71
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
72
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
73
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
74
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
75
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
76
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
77
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
78
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
79
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
80
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
81
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
82
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
83
+ #endif
84
+
85
+ #if !defined(SWIFT_PASTE)
86
+ # define SWIFT_PASTE_HELPER(x, y) x##y
87
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
88
+ #endif
89
+ #if !defined(SWIFT_METATYPE)
90
+ # define SWIFT_METATYPE(X) Class
91
+ #endif
92
+ #if !defined(SWIFT_CLASS_PROPERTY)
93
+ # if __has_feature(objc_class_property)
94
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
95
+ # else
96
+ # define SWIFT_CLASS_PROPERTY(...)
97
+ # endif
98
+ #endif
99
+ #if !defined(SWIFT_RUNTIME_NAME)
100
+ # if __has_attribute(objc_runtime_name)
101
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
102
+ # else
103
+ # define SWIFT_RUNTIME_NAME(X)
104
+ # endif
105
+ #endif
106
+ #if !defined(SWIFT_COMPILE_NAME)
107
+ # if __has_attribute(swift_name)
108
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
109
+ # else
110
+ # define SWIFT_COMPILE_NAME(X)
111
+ # endif
112
+ #endif
113
+ #if !defined(SWIFT_METHOD_FAMILY)
114
+ # if __has_attribute(objc_method_family)
115
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
116
+ # else
117
+ # define SWIFT_METHOD_FAMILY(X)
118
+ # endif
119
+ #endif
120
+ #if !defined(SWIFT_NOESCAPE)
121
+ # if __has_attribute(noescape)
122
+ # define SWIFT_NOESCAPE __attribute__((noescape))
123
+ # else
124
+ # define SWIFT_NOESCAPE
125
+ # endif
126
+ #endif
127
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
128
+ # if __has_attribute(ns_consumed)
129
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
130
+ # else
131
+ # define SWIFT_RELEASES_ARGUMENT
132
+ # endif
133
+ #endif
134
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
135
+ # if __has_attribute(warn_unused_result)
136
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
137
+ # else
138
+ # define SWIFT_WARN_UNUSED_RESULT
139
+ # endif
140
+ #endif
141
+ #if !defined(SWIFT_NORETURN)
142
+ # if __has_attribute(noreturn)
143
+ # define SWIFT_NORETURN __attribute__((noreturn))
144
+ # else
145
+ # define SWIFT_NORETURN
146
+ # endif
147
+ #endif
148
+ #if !defined(SWIFT_CLASS_EXTRA)
149
+ # define SWIFT_CLASS_EXTRA
150
+ #endif
151
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
152
+ # define SWIFT_PROTOCOL_EXTRA
153
+ #endif
154
+ #if !defined(SWIFT_ENUM_EXTRA)
155
+ # define SWIFT_ENUM_EXTRA
156
+ #endif
157
+ #if !defined(SWIFT_CLASS)
158
+ # if __has_attribute(objc_subclassing_restricted)
159
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
160
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
161
+ # else
162
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
163
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
164
+ # endif
165
+ #endif
166
+ #if !defined(SWIFT_RESILIENT_CLASS)
167
+ # if __has_attribute(objc_class_stub)
168
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
169
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
170
+ # else
171
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
172
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
173
+ # endif
174
+ #endif
175
+ #if !defined(SWIFT_PROTOCOL)
176
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
177
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
178
+ #endif
179
+ #if !defined(SWIFT_EXTENSION)
180
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
181
+ #endif
182
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
183
+ # if __has_attribute(objc_designated_initializer)
184
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
185
+ # else
186
+ # define OBJC_DESIGNATED_INITIALIZER
187
+ # endif
188
+ #endif
189
+ #if !defined(SWIFT_ENUM_ATTR)
190
+ # if __has_attribute(enum_extensibility)
191
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
192
+ # else
193
+ # define SWIFT_ENUM_ATTR(_extensibility)
194
+ # endif
195
+ #endif
196
+ #if !defined(SWIFT_ENUM)
197
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
198
+ # if __has_feature(generalized_swift_name)
199
+ # 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
200
+ # else
201
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
202
+ # endif
203
+ #endif
204
+ #if !defined(SWIFT_UNAVAILABLE)
205
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
206
+ #endif
207
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
208
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
209
+ #endif
210
+ #if !defined(SWIFT_AVAILABILITY)
211
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
212
+ #endif
213
+ #if !defined(SWIFT_WEAK_IMPORT)
214
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
215
+ #endif
216
+ #if !defined(SWIFT_DEPRECATED)
217
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
218
+ #endif
219
+ #if !defined(SWIFT_DEPRECATED_MSG)
220
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
221
+ #endif
222
+ #if !defined(SWIFT_DEPRECATED_OBJC)
223
+ # if __has_feature(attribute_diagnose_if_objc)
224
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
225
+ # else
226
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
227
+ # endif
228
+ #endif
229
+ #if defined(__OBJC__)
230
+ #if !defined(IBSegueAction)
231
+ # define IBSegueAction
232
+ #endif
233
+ #endif
234
+ #if !defined(SWIFT_EXTERN)
235
+ # if defined(__cplusplus)
236
+ # define SWIFT_EXTERN extern "C"
237
+ # else
238
+ # define SWIFT_EXTERN extern
239
+ # endif
240
+ #endif
241
+ #if !defined(SWIFT_CALL)
242
+ # define SWIFT_CALL __attribute__((swiftcall))
243
+ #endif
244
+ #if !defined(SWIFT_INDIRECT_RESULT)
245
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
246
+ #endif
247
+ #if !defined(SWIFT_CONTEXT)
248
+ # define SWIFT_CONTEXT __attribute__((swift_context))
249
+ #endif
250
+ #if !defined(SWIFT_ERROR_RESULT)
251
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
252
+ #endif
253
+ #if defined(__cplusplus)
254
+ # define SWIFT_NOEXCEPT noexcept
255
+ #else
256
+ # define SWIFT_NOEXCEPT
257
+ #endif
258
+ #if !defined(SWIFT_C_INLINE_THUNK)
259
+ # if __has_attribute(always_inline)
260
+ # if __has_attribute(nodebug)
261
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
262
+ # else
263
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
264
+ # endif
265
+ # else
266
+ # define SWIFT_C_INLINE_THUNK inline
267
+ # endif
268
+ #endif
269
+ #if defined(_WIN32)
270
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
271
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
272
+ #endif
273
+ #else
274
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
275
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
276
+ #endif
277
+ #endif
278
+ #if defined(__OBJC__)
279
+ #if __has_feature(objc_modules)
280
+ #if __has_warning("-Watimport-in-framework-header")
281
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
282
+ #endif
283
+ #endif
284
+
285
+ #endif
286
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
287
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
288
+ #if __has_warning("-Wpragma-clang-attribute")
289
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
290
+ #endif
291
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
292
+ #pragma clang diagnostic ignored "-Wnullability"
293
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
294
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
295
+
296
+ #if __has_attribute(external_source_symbol)
297
+ # pragma push_macro("any")
298
+ # undef any
299
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AdshiftSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
300
+ # pragma pop_macro("any")
301
+ #endif
302
+
303
+ #if defined(__OBJC__)
304
+ #endif
305
+ #if __has_attribute(external_source_symbol)
306
+ # pragma clang attribute pop
307
+ #endif
308
+ #if defined(__cplusplus)
309
+ #endif
310
+ #pragma clang diagnostic pop
311
+ #endif
312
+
313
+ #elif defined(__x86_64__) && __x86_64__
314
+ // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
315
+ #ifndef ADSHIFTSDK_SWIFT_H
316
+ #define ADSHIFTSDK_SWIFT_H
317
+ #pragma clang diagnostic push
318
+ #pragma clang diagnostic ignored "-Wgcc-compat"
319
+
320
+ #if !defined(__has_include)
321
+ # define __has_include(x) 0
322
+ #endif
323
+ #if !defined(__has_attribute)
324
+ # define __has_attribute(x) 0
325
+ #endif
326
+ #if !defined(__has_feature)
327
+ # define __has_feature(x) 0
328
+ #endif
329
+ #if !defined(__has_warning)
330
+ # define __has_warning(x) 0
331
+ #endif
332
+
333
+ #if __has_include(<swift/objc-prologue.h>)
334
+ # include <swift/objc-prologue.h>
335
+ #endif
336
+
337
+ #pragma clang diagnostic ignored "-Wauto-import"
338
+ #if defined(__OBJC__)
339
+ #include <Foundation/Foundation.h>
340
+ #endif
341
+ #if defined(__cplusplus)
342
+ #include <cstdint>
343
+ #include <cstddef>
344
+ #include <cstdbool>
345
+ #include <cstring>
346
+ #include <stdlib.h>
347
+ #include <new>
348
+ #include <type_traits>
349
+ #else
350
+ #include <stdint.h>
351
+ #include <stddef.h>
352
+ #include <stdbool.h>
353
+ #include <string.h>
354
+ #endif
355
+ #if defined(__cplusplus)
356
+ #pragma clang diagnostic push
357
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
358
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
359
+ # include <ptrauth.h>
360
+ #else
361
+ #pragma clang diagnostic push
362
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
363
+ # ifndef __ptrauth_swift_value_witness_function_pointer
364
+ # define __ptrauth_swift_value_witness_function_pointer(x)
365
+ # endif
366
+ # ifndef __ptrauth_swift_class_method_pointer
367
+ # define __ptrauth_swift_class_method_pointer(x)
368
+ # endif
369
+ #pragma clang diagnostic pop
370
+ #endif
371
+ #pragma clang diagnostic pop
372
+ #endif
373
+
374
+ #if !defined(SWIFT_TYPEDEFS)
375
+ # define SWIFT_TYPEDEFS 1
376
+ # if __has_include(<uchar.h>)
377
+ # include <uchar.h>
378
+ # elif !defined(__cplusplus)
379
+ typedef uint_least16_t char16_t;
380
+ typedef uint_least32_t char32_t;
381
+ # endif
382
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
383
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
384
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
385
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
386
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
387
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
388
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
389
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
390
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
391
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
392
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
393
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
394
+ #endif
395
+
396
+ #if !defined(SWIFT_PASTE)
397
+ # define SWIFT_PASTE_HELPER(x, y) x##y
398
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
399
+ #endif
400
+ #if !defined(SWIFT_METATYPE)
401
+ # define SWIFT_METATYPE(X) Class
402
+ #endif
403
+ #if !defined(SWIFT_CLASS_PROPERTY)
404
+ # if __has_feature(objc_class_property)
405
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
406
+ # else
407
+ # define SWIFT_CLASS_PROPERTY(...)
408
+ # endif
409
+ #endif
410
+ #if !defined(SWIFT_RUNTIME_NAME)
411
+ # if __has_attribute(objc_runtime_name)
412
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
413
+ # else
414
+ # define SWIFT_RUNTIME_NAME(X)
415
+ # endif
416
+ #endif
417
+ #if !defined(SWIFT_COMPILE_NAME)
418
+ # if __has_attribute(swift_name)
419
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
420
+ # else
421
+ # define SWIFT_COMPILE_NAME(X)
422
+ # endif
423
+ #endif
424
+ #if !defined(SWIFT_METHOD_FAMILY)
425
+ # if __has_attribute(objc_method_family)
426
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
427
+ # else
428
+ # define SWIFT_METHOD_FAMILY(X)
429
+ # endif
430
+ #endif
431
+ #if !defined(SWIFT_NOESCAPE)
432
+ # if __has_attribute(noescape)
433
+ # define SWIFT_NOESCAPE __attribute__((noescape))
434
+ # else
435
+ # define SWIFT_NOESCAPE
436
+ # endif
437
+ #endif
438
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
439
+ # if __has_attribute(ns_consumed)
440
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
441
+ # else
442
+ # define SWIFT_RELEASES_ARGUMENT
443
+ # endif
444
+ #endif
445
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
446
+ # if __has_attribute(warn_unused_result)
447
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
448
+ # else
449
+ # define SWIFT_WARN_UNUSED_RESULT
450
+ # endif
451
+ #endif
452
+ #if !defined(SWIFT_NORETURN)
453
+ # if __has_attribute(noreturn)
454
+ # define SWIFT_NORETURN __attribute__((noreturn))
455
+ # else
456
+ # define SWIFT_NORETURN
457
+ # endif
458
+ #endif
459
+ #if !defined(SWIFT_CLASS_EXTRA)
460
+ # define SWIFT_CLASS_EXTRA
461
+ #endif
462
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
463
+ # define SWIFT_PROTOCOL_EXTRA
464
+ #endif
465
+ #if !defined(SWIFT_ENUM_EXTRA)
466
+ # define SWIFT_ENUM_EXTRA
467
+ #endif
468
+ #if !defined(SWIFT_CLASS)
469
+ # if __has_attribute(objc_subclassing_restricted)
470
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
471
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
472
+ # else
473
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
474
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
475
+ # endif
476
+ #endif
477
+ #if !defined(SWIFT_RESILIENT_CLASS)
478
+ # if __has_attribute(objc_class_stub)
479
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
480
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
481
+ # else
482
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
483
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
484
+ # endif
485
+ #endif
486
+ #if !defined(SWIFT_PROTOCOL)
487
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
488
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
489
+ #endif
490
+ #if !defined(SWIFT_EXTENSION)
491
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
492
+ #endif
493
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
494
+ # if __has_attribute(objc_designated_initializer)
495
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
496
+ # else
497
+ # define OBJC_DESIGNATED_INITIALIZER
498
+ # endif
499
+ #endif
500
+ #if !defined(SWIFT_ENUM_ATTR)
501
+ # if __has_attribute(enum_extensibility)
502
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
503
+ # else
504
+ # define SWIFT_ENUM_ATTR(_extensibility)
505
+ # endif
506
+ #endif
507
+ #if !defined(SWIFT_ENUM)
508
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
509
+ # if __has_feature(generalized_swift_name)
510
+ # 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
511
+ # else
512
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
513
+ # endif
514
+ #endif
515
+ #if !defined(SWIFT_UNAVAILABLE)
516
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
517
+ #endif
518
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
519
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
520
+ #endif
521
+ #if !defined(SWIFT_AVAILABILITY)
522
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
523
+ #endif
524
+ #if !defined(SWIFT_WEAK_IMPORT)
525
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
526
+ #endif
527
+ #if !defined(SWIFT_DEPRECATED)
528
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
529
+ #endif
530
+ #if !defined(SWIFT_DEPRECATED_MSG)
531
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
532
+ #endif
533
+ #if !defined(SWIFT_DEPRECATED_OBJC)
534
+ # if __has_feature(attribute_diagnose_if_objc)
535
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
536
+ # else
537
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
538
+ # endif
539
+ #endif
540
+ #if defined(__OBJC__)
541
+ #if !defined(IBSegueAction)
542
+ # define IBSegueAction
543
+ #endif
544
+ #endif
545
+ #if !defined(SWIFT_EXTERN)
546
+ # if defined(__cplusplus)
547
+ # define SWIFT_EXTERN extern "C"
548
+ # else
549
+ # define SWIFT_EXTERN extern
550
+ # endif
551
+ #endif
552
+ #if !defined(SWIFT_CALL)
553
+ # define SWIFT_CALL __attribute__((swiftcall))
554
+ #endif
555
+ #if !defined(SWIFT_INDIRECT_RESULT)
556
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
557
+ #endif
558
+ #if !defined(SWIFT_CONTEXT)
559
+ # define SWIFT_CONTEXT __attribute__((swift_context))
560
+ #endif
561
+ #if !defined(SWIFT_ERROR_RESULT)
562
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
563
+ #endif
564
+ #if defined(__cplusplus)
565
+ # define SWIFT_NOEXCEPT noexcept
566
+ #else
567
+ # define SWIFT_NOEXCEPT
568
+ #endif
569
+ #if !defined(SWIFT_C_INLINE_THUNK)
570
+ # if __has_attribute(always_inline)
571
+ # if __has_attribute(nodebug)
572
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
573
+ # else
574
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
575
+ # endif
576
+ # else
577
+ # define SWIFT_C_INLINE_THUNK inline
578
+ # endif
579
+ #endif
580
+ #if defined(_WIN32)
581
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
582
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
583
+ #endif
584
+ #else
585
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
586
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
587
+ #endif
588
+ #endif
589
+ #if defined(__OBJC__)
590
+ #if __has_feature(objc_modules)
591
+ #if __has_warning("-Watimport-in-framework-header")
592
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
593
+ #endif
594
+ #endif
595
+
596
+ #endif
597
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
598
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
599
+ #if __has_warning("-Wpragma-clang-attribute")
600
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
601
+ #endif
602
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
603
+ #pragma clang diagnostic ignored "-Wnullability"
604
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
605
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
606
+
607
+ #if __has_attribute(external_source_symbol)
608
+ # pragma push_macro("any")
609
+ # undef any
610
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="AdshiftSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
611
+ # pragma pop_macro("any")
612
+ #endif
613
+
614
+ #if defined(__OBJC__)
615
+ #endif
616
+ #if __has_attribute(external_source_symbol)
617
+ # pragma clang attribute pop
618
+ #endif
619
+ #if defined(__cplusplus)
620
+ #endif
621
+ #pragma clang diagnostic pop
622
+ #endif
623
+
624
+ #else
625
+ #error unsupported Swift architecture
626
+ #endif