1
- // Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
2
4
#ifndef TEADSSDK_SWIFT_H
3
5
#define TEADSSDK_SWIFT_H
4
6
#pragma clang diagnostic push
22
24
#endif
23
25
24
26
#pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
25
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
26
39
#include <stdint.h>
27
40
#include <stddef.h>
28
41
#include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #if __has_include(<ptrauth.h>)
46
+ # include <ptrauth.h>
47
+ #else
48
+ # ifndef __ptrauth_swift_value_witness_function_pointer
49
+ # define __ptrauth_swift_value_witness_function_pointer(x)
50
+ # endif
51
+ #endif
52
+ #endif
29
53
30
54
#if !defined(SWIFT_TYPEDEFS)
31
55
# define SWIFT_TYPEDEFS 1
@@ -60,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
60
84
# if __has_feature(objc_class_property)
61
85
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
62
86
# else
63
- # define SWIFT_CLASS_PROPERTY (...)
87
+ # define SWIFT_CLASS_PROPERTY(...)
64
88
# endif
65
89
#endif
66
-
67
- #if __has_attribute(objc_runtime_name)
68
- # define SWIFT_RUNTIME_NAME (X ) __attribute__((objc_runtime_name(X)))
69
- #else
70
- # define SWIFT_RUNTIME_NAME (X )
90
+ #if !defined(SWIFT_RUNTIME_NAME)
91
+ # if __has_attribute(objc_runtime_name)
92
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
93
+ # else
94
+ # define SWIFT_RUNTIME_NAME(X)
95
+ # endif
71
96
#endif
72
- #if __has_attribute(swift_name)
73
- # define SWIFT_COMPILE_NAME (X ) __attribute__((swift_name(X)))
74
- #else
75
- # define SWIFT_COMPILE_NAME (X )
97
+ #if !defined(SWIFT_COMPILE_NAME)
98
+ # if __has_attribute(swift_name)
99
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
100
+ # else
101
+ # define SWIFT_COMPILE_NAME(X)
102
+ # endif
76
103
#endif
77
- #if __has_attribute(objc_method_family)
78
- # define SWIFT_METHOD_FAMILY (X ) __attribute__((objc_method_family(X)))
79
- #else
80
- # define SWIFT_METHOD_FAMILY (X )
104
+ #if !defined(SWIFT_METHOD_FAMILY)
105
+ # if __has_attribute(objc_method_family)
106
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
107
+ # else
108
+ # define SWIFT_METHOD_FAMILY(X)
109
+ # endif
81
110
#endif
82
- #if __has_attribute(noescape)
83
- # define SWIFT_NOESCAPE __attribute__ ((noescape))
84
- #else
85
- # define SWIFT_NOESCAPE
111
+ #if !defined(SWIFT_NOESCAPE)
112
+ # if __has_attribute(noescape)
113
+ # define SWIFT_NOESCAPE __attribute__((noescape))
114
+ # else
115
+ # define SWIFT_NOESCAPE
116
+ # endif
86
117
#endif
87
- #if __has_attribute(ns_consumed)
88
- # define SWIFT_RELEASES_ARGUMENT __attribute__ ((ns_consumed))
89
- #else
90
- # define SWIFT_RELEASES_ARGUMENT
118
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
119
+ # if __has_attribute(ns_consumed)
120
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
121
+ # else
122
+ # define SWIFT_RELEASES_ARGUMENT
123
+ # endif
91
124
#endif
92
- #if __has_attribute(warn_unused_result)
93
- # define SWIFT_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result))
94
- #else
95
- # define SWIFT_WARN_UNUSED_RESULT
125
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
126
+ # if __has_attribute(warn_unused_result)
127
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
128
+ # else
129
+ # define SWIFT_WARN_UNUSED_RESULT
130
+ # endif
96
131
#endif
97
- #if __has_attribute(noreturn)
98
- # define SWIFT_NORETURN __attribute__ ((noreturn))
99
- #else
100
- # define SWIFT_NORETURN
132
+ #if !defined(SWIFT_NORETURN)
133
+ # if __has_attribute(noreturn)
134
+ # define SWIFT_NORETURN __attribute__((noreturn))
135
+ # else
136
+ # define SWIFT_NORETURN
137
+ # endif
101
138
#endif
102
139
#if !defined(SWIFT_CLASS_EXTRA)
103
- # define SWIFT_CLASS_EXTRA
140
+ # define SWIFT_CLASS_EXTRA
104
141
#endif
105
142
#if !defined(SWIFT_PROTOCOL_EXTRA)
106
- # define SWIFT_PROTOCOL_EXTRA
143
+ # define SWIFT_PROTOCOL_EXTRA
107
144
#endif
108
145
#if !defined(SWIFT_ENUM_EXTRA)
109
- # define SWIFT_ENUM_EXTRA
146
+ # define SWIFT_ENUM_EXTRA
110
147
#endif
111
148
#if !defined(SWIFT_CLASS)
112
149
# if __has_attribute(objc_subclassing_restricted)
@@ -126,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
126
163
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127
164
# endif
128
165
#endif
129
-
130
166
#if !defined(SWIFT_PROTOCOL)
131
167
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132
168
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133
169
#endif
134
-
135
170
#if !defined(SWIFT_EXTENSION)
136
171
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137
172
#endif
138
-
139
173
#if !defined(OBJC_DESIGNATED_INITIALIZER)
140
174
# if __has_attribute(objc_designated_initializer)
141
175
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142
176
# else
143
- # define OBJC_DESIGNATED_INITIALIZER
177
+ # define OBJC_DESIGNATED_INITIALIZER
144
178
# endif
145
179
#endif
146
180
#if !defined(SWIFT_ENUM_ATTR)
147
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
181
+ # if __has_attribute(enum_extensibility)
148
182
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149
183
# else
150
- # define SWIFT_ENUM_ATTR (_extensibility )
184
+ # define SWIFT_ENUM_ATTR(_extensibility)
151
185
# endif
152
186
#endif
153
187
#if !defined(SWIFT_ENUM)
@@ -176,13 +210,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
176
210
#if !defined(SWIFT_DEPRECATED_MSG)
177
211
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178
212
#endif
179
- #if __has_feature(attribute_diagnose_if_objc)
180
- # define SWIFT_DEPRECATED_OBJC (Msg ) __attribute__((diagnose_if(1 , Msg, " warning" )))
181
- #else
182
- # define SWIFT_DEPRECATED_OBJC (Msg ) SWIFT_DEPRECATED_MSG(Msg)
213
+ #if !defined(SWIFT_DEPRECATED_OBJC)
214
+ # if __has_feature(attribute_diagnose_if_objc)
215
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
216
+ # else
217
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
218
+ # endif
183
219
#endif
220
+ #if defined(__OBJC__)
184
221
#if !defined(IBSegueAction)
185
- # define IBSegueAction
222
+ # define IBSegueAction
223
+ #endif
186
224
#endif
187
225
#if !defined(SWIFT_EXTERN)
188
226
# if defined(__cplusplus)
@@ -191,23 +229,52 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
191
229
# define SWIFT_EXTERN extern
192
230
# endif
193
231
#endif
194
- #if __has_feature(modules)
232
+ #if !defined(SWIFT_CALL)
233
+ # define SWIFT_CALL __attribute__((swiftcall))
234
+ #endif
235
+ #if !defined(SWIFT_INDIRECT_RESULT)
236
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
237
+ #endif
238
+ #if !defined(SWIFT_CONTEXT)
239
+ # define SWIFT_CONTEXT __attribute__((swift_context))
240
+ #endif
241
+ #if !defined(SWIFT_ERROR_RESULT)
242
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
243
+ #endif
244
+ #if defined(__cplusplus)
245
+ # define SWIFT_NOEXCEPT noexcept
246
+ #else
247
+ # define SWIFT_NOEXCEPT
248
+ #endif
249
+ #if defined(_WIN32)
250
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
252
+ #endif
253
+ #else
254
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
255
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
256
+ #endif
257
+ #endif
258
+ #if defined(__OBJC__)
259
+ #if __has_feature(objc_modules)
195
260
#if __has_warning("-Watimport-in-framework-header")
196
261
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
197
262
#endif
198
- @import CoreGraphics ;
263
+ @import CoreFoundation ;
199
264
@import Foundation;
200
265
@import ObjectiveC;
201
266
@import UIKit;
202
267
#endif
203
268
269
+ #endif
204
270
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
205
271
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
206
272
#if __has_warning("-Wpragma-clang-attribute")
207
273
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
208
274
#endif
209
275
#pragma clang diagnostic ignored "-Wunknown-pragmas"
210
276
#pragma clang diagnostic ignored "-Wnullability"
277
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
211
278
212
279
#if __has_attribute(external_source_symbol)
213
280
# pragma push_macro("any")
@@ -216,6 +283,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
216
283
# pragma pop_macro("any")
217
284
#endif
218
285
286
+ #if defined(__OBJC__)
219
287
220
288
221
289
/// Native Root Component
@@ -1247,8 +1315,15 @@ SWIFT_CLASS("_TtC8TeadsSDK14VideoComponent")
1247
1315
@property (nonatomic, readonly) CGFloat contentAspectRatio;
1248
1316
@end
1249
1317
1318
+ #endif
1319
+ #if defined(__cplusplus)
1320
+ #endif
1250
1321
#if __has_attribute(external_source_symbol)
1251
1322
# pragma clang attribute pop
1252
1323
#endif
1253
1324
#pragma clang diagnostic pop
1254
1325
#endif
1326
+
1327
+ #else
1328
+ #error unsupported Swift architecture
1329
+ #endif
0 commit comments