commit | author | age
|
aca600
|
1 |
#if 0 |
L |
2 |
#elif defined(__arm64__) && __arm64__ |
8fa52d
|
3 |
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51) |
L |
4 |
#ifndef FIREBASEANALYTICS_SWIFT_H |
|
5 |
#define FIREBASEANALYTICS_SWIFT_H |
aca600
|
6 |
#pragma clang diagnostic push |
L |
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 |
|
8fa52d
|
26 |
#pragma clang diagnostic ignored "-Wduplicate-method-match" |
aca600
|
27 |
#pragma clang diagnostic ignored "-Wauto-import" |
8fa52d
|
28 |
#if defined(__OBJC__) |
aca600
|
29 |
#include <Foundation/Foundation.h> |
8fa52d
|
30 |
#endif |
L |
31 |
#if defined(__cplusplus) |
|
32 |
#include <cstdint> |
|
33 |
#include <cstddef> |
|
34 |
#include <cstdbool> |
|
35 |
#else |
aca600
|
36 |
#include <stdint.h> |
L |
37 |
#include <stddef.h> |
|
38 |
#include <stdbool.h> |
8fa52d
|
39 |
#endif |
aca600
|
40 |
|
L |
41 |
#if !defined(SWIFT_TYPEDEFS) |
|
42 |
# define SWIFT_TYPEDEFS 1 |
|
43 |
# if __has_include(<uchar.h>) |
|
44 |
# include <uchar.h> |
|
45 |
# elif !defined(__cplusplus) |
|
46 |
typedef uint_least16_t char16_t; |
|
47 |
typedef uint_least32_t char32_t; |
|
48 |
# endif |
|
49 |
typedef float swift_float2 __attribute__((__ext_vector_type__(2))); |
|
50 |
typedef float swift_float3 __attribute__((__ext_vector_type__(3))); |
|
51 |
typedef float swift_float4 __attribute__((__ext_vector_type__(4))); |
|
52 |
typedef double swift_double2 __attribute__((__ext_vector_type__(2))); |
|
53 |
typedef double swift_double3 __attribute__((__ext_vector_type__(3))); |
|
54 |
typedef double swift_double4 __attribute__((__ext_vector_type__(4))); |
|
55 |
typedef int swift_int2 __attribute__((__ext_vector_type__(2))); |
|
56 |
typedef int swift_int3 __attribute__((__ext_vector_type__(3))); |
|
57 |
typedef int swift_int4 __attribute__((__ext_vector_type__(4))); |
|
58 |
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); |
|
59 |
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); |
|
60 |
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
|
61 |
#endif |
|
62 |
|
|
63 |
#if !defined(SWIFT_PASTE) |
|
64 |
# define SWIFT_PASTE_HELPER(x, y) x##y |
|
65 |
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) |
|
66 |
#endif |
|
67 |
#if !defined(SWIFT_METATYPE) |
|
68 |
# define SWIFT_METATYPE(X) Class |
|
69 |
#endif |
|
70 |
#if !defined(SWIFT_CLASS_PROPERTY) |
|
71 |
# if __has_feature(objc_class_property) |
|
72 |
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ |
|
73 |
# else |
|
74 |
# define SWIFT_CLASS_PROPERTY(...) |
|
75 |
# endif |
|
76 |
#endif |
|
77 |
|
|
78 |
#if __has_attribute(objc_runtime_name) |
|
79 |
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) |
|
80 |
#else |
|
81 |
# define SWIFT_RUNTIME_NAME(X) |
|
82 |
#endif |
|
83 |
#if __has_attribute(swift_name) |
|
84 |
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) |
|
85 |
#else |
|
86 |
# define SWIFT_COMPILE_NAME(X) |
|
87 |
#endif |
|
88 |
#if __has_attribute(objc_method_family) |
|
89 |
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) |
|
90 |
#else |
|
91 |
# define SWIFT_METHOD_FAMILY(X) |
|
92 |
#endif |
|
93 |
#if __has_attribute(noescape) |
|
94 |
# define SWIFT_NOESCAPE __attribute__((noescape)) |
|
95 |
#else |
|
96 |
# define SWIFT_NOESCAPE |
|
97 |
#endif |
|
98 |
#if __has_attribute(ns_consumed) |
|
99 |
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) |
|
100 |
#else |
|
101 |
# define SWIFT_RELEASES_ARGUMENT |
|
102 |
#endif |
|
103 |
#if __has_attribute(warn_unused_result) |
|
104 |
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
|
105 |
#else |
|
106 |
# define SWIFT_WARN_UNUSED_RESULT |
|
107 |
#endif |
|
108 |
#if __has_attribute(noreturn) |
|
109 |
# define SWIFT_NORETURN __attribute__((noreturn)) |
|
110 |
#else |
|
111 |
# define SWIFT_NORETURN |
|
112 |
#endif |
|
113 |
#if !defined(SWIFT_CLASS_EXTRA) |
|
114 |
# define SWIFT_CLASS_EXTRA |
|
115 |
#endif |
|
116 |
#if !defined(SWIFT_PROTOCOL_EXTRA) |
|
117 |
# define SWIFT_PROTOCOL_EXTRA |
|
118 |
#endif |
|
119 |
#if !defined(SWIFT_ENUM_EXTRA) |
|
120 |
# define SWIFT_ENUM_EXTRA |
|
121 |
#endif |
|
122 |
#if !defined(SWIFT_CLASS) |
|
123 |
# if __has_attribute(objc_subclassing_restricted) |
|
124 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA |
|
125 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
126 |
# else |
|
127 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
128 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
129 |
# endif |
|
130 |
#endif |
|
131 |
#if !defined(SWIFT_RESILIENT_CLASS) |
|
132 |
# if __has_attribute(objc_class_stub) |
|
133 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) |
|
134 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
135 |
# else |
|
136 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) |
|
137 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
138 |
# endif |
|
139 |
#endif |
|
140 |
|
|
141 |
#if !defined(SWIFT_PROTOCOL) |
|
142 |
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
143 |
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
144 |
#endif |
|
145 |
|
|
146 |
#if !defined(SWIFT_EXTENSION) |
|
147 |
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) |
|
148 |
#endif |
|
149 |
|
|
150 |
#if !defined(OBJC_DESIGNATED_INITIALIZER) |
|
151 |
# if __has_attribute(objc_designated_initializer) |
|
152 |
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) |
|
153 |
# else |
|
154 |
# define OBJC_DESIGNATED_INITIALIZER |
|
155 |
# endif |
|
156 |
#endif |
|
157 |
#if !defined(SWIFT_ENUM_ATTR) |
|
158 |
# if defined(__has_attribute) && __has_attribute(enum_extensibility) |
|
159 |
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) |
|
160 |
# else |
|
161 |
# define SWIFT_ENUM_ATTR(_extensibility) |
|
162 |
# endif |
|
163 |
#endif |
|
164 |
#if !defined(SWIFT_ENUM) |
|
165 |
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
|
166 |
# if __has_feature(generalized_swift_name) |
|
167 |
# 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 |
|
168 |
# else |
|
169 |
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) |
|
170 |
# endif |
|
171 |
#endif |
|
172 |
#if !defined(SWIFT_UNAVAILABLE) |
|
173 |
# define SWIFT_UNAVAILABLE __attribute__((unavailable)) |
|
174 |
#endif |
|
175 |
#if !defined(SWIFT_UNAVAILABLE_MSG) |
|
176 |
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) |
|
177 |
#endif |
|
178 |
#if !defined(SWIFT_AVAILABILITY) |
|
179 |
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) |
|
180 |
#endif |
|
181 |
#if !defined(SWIFT_WEAK_IMPORT) |
|
182 |
# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) |
|
183 |
#endif |
|
184 |
#if !defined(SWIFT_DEPRECATED) |
|
185 |
# define SWIFT_DEPRECATED __attribute__((deprecated)) |
|
186 |
#endif |
|
187 |
#if !defined(SWIFT_DEPRECATED_MSG) |
|
188 |
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) |
|
189 |
#endif |
|
190 |
#if __has_feature(attribute_diagnose_if_objc) |
|
191 |
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) |
|
192 |
#else |
|
193 |
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) |
|
194 |
#endif |
8fa52d
|
195 |
#if defined(__OBJC__) |
aca600
|
196 |
#if !defined(IBSegueAction) |
L |
197 |
# define IBSegueAction |
8fa52d
|
198 |
#endif |
aca600
|
199 |
#endif |
L |
200 |
#if !defined(SWIFT_EXTERN) |
|
201 |
# if defined(__cplusplus) |
|
202 |
# define SWIFT_EXTERN extern "C" |
|
203 |
# else |
|
204 |
# define SWIFT_EXTERN extern |
|
205 |
# endif |
|
206 |
#endif |
8fa52d
|
207 |
#if !defined(SWIFT_CALL) |
L |
208 |
# define SWIFT_CALL __attribute__((swiftcall)) |
|
209 |
#endif |
|
210 |
#if defined(__cplusplus) |
|
211 |
#if !defined(SWIFT_NOEXCEPT) |
|
212 |
# define SWIFT_NOEXCEPT noexcept |
|
213 |
#endif |
|
214 |
#else |
|
215 |
#if !defined(SWIFT_NOEXCEPT) |
|
216 |
# define SWIFT_NOEXCEPT |
|
217 |
#endif |
|
218 |
#endif |
|
219 |
#if defined(__cplusplus) |
|
220 |
#if !defined(SWIFT_CXX_INT_DEFINED) |
|
221 |
#define SWIFT_CXX_INT_DEFINED |
|
222 |
namespace swift { |
|
223 |
using Int = ptrdiff_t; |
|
224 |
using UInt = size_t; |
|
225 |
} |
|
226 |
#endif |
|
227 |
#endif |
|
228 |
#if defined(__OBJC__) |
aca600
|
229 |
#if __has_feature(modules) |
L |
230 |
#if __has_warning("-Watimport-in-framework-header") |
|
231 |
#pragma clang diagnostic ignored "-Watimport-in-framework-header" |
|
232 |
#endif |
|
233 |
#endif |
|
234 |
|
8fa52d
|
235 |
#endif |
aca600
|
236 |
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" |
L |
237 |
#pragma clang diagnostic ignored "-Wduplicate-method-arg" |
|
238 |
#if __has_warning("-Wpragma-clang-attribute") |
|
239 |
# pragma clang diagnostic ignored "-Wpragma-clang-attribute" |
|
240 |
#endif |
|
241 |
#pragma clang diagnostic ignored "-Wunknown-pragmas" |
|
242 |
#pragma clang diagnostic ignored "-Wnullability" |
8fa52d
|
243 |
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" |
aca600
|
244 |
|
L |
245 |
#if __has_attribute(external_source_symbol) |
|
246 |
# pragma push_macro("any") |
|
247 |
# undef any |
8fa52d
|
248 |
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) |
aca600
|
249 |
# pragma pop_macro("any") |
L |
250 |
#endif |
|
251 |
|
8fa52d
|
252 |
#if defined(__OBJC__) |
L |
253 |
|
|
254 |
#endif |
|
255 |
#if defined(__cplusplus) |
|
256 |
#endif |
aca600
|
257 |
#if __has_attribute(external_source_symbol) |
L |
258 |
# pragma clang attribute pop |
|
259 |
#endif |
|
260 |
#pragma clang diagnostic pop |
|
261 |
#endif |
|
262 |
|
|
263 |
#elif defined(__x86_64__) && __x86_64__ |
8fa52d
|
264 |
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51) |
L |
265 |
#ifndef FIREBASEANALYTICS_SWIFT_H |
|
266 |
#define FIREBASEANALYTICS_SWIFT_H |
aca600
|
267 |
#pragma clang diagnostic push |
L |
268 |
#pragma clang diagnostic ignored "-Wgcc-compat" |
|
269 |
|
|
270 |
#if !defined(__has_include) |
|
271 |
# define __has_include(x) 0 |
|
272 |
#endif |
|
273 |
#if !defined(__has_attribute) |
|
274 |
# define __has_attribute(x) 0 |
|
275 |
#endif |
|
276 |
#if !defined(__has_feature) |
|
277 |
# define __has_feature(x) 0 |
|
278 |
#endif |
|
279 |
#if !defined(__has_warning) |
|
280 |
# define __has_warning(x) 0 |
|
281 |
#endif |
|
282 |
|
|
283 |
#if __has_include(<swift/objc-prologue.h>) |
|
284 |
# include <swift/objc-prologue.h> |
|
285 |
#endif |
|
286 |
|
8fa52d
|
287 |
#pragma clang diagnostic ignored "-Wduplicate-method-match" |
aca600
|
288 |
#pragma clang diagnostic ignored "-Wauto-import" |
8fa52d
|
289 |
#if defined(__OBJC__) |
aca600
|
290 |
#include <Foundation/Foundation.h> |
8fa52d
|
291 |
#endif |
L |
292 |
#if defined(__cplusplus) |
|
293 |
#include <cstdint> |
|
294 |
#include <cstddef> |
|
295 |
#include <cstdbool> |
|
296 |
#else |
aca600
|
297 |
#include <stdint.h> |
L |
298 |
#include <stddef.h> |
|
299 |
#include <stdbool.h> |
8fa52d
|
300 |
#endif |
aca600
|
301 |
|
L |
302 |
#if !defined(SWIFT_TYPEDEFS) |
|
303 |
# define SWIFT_TYPEDEFS 1 |
|
304 |
# if __has_include(<uchar.h>) |
|
305 |
# include <uchar.h> |
|
306 |
# elif !defined(__cplusplus) |
|
307 |
typedef uint_least16_t char16_t; |
|
308 |
typedef uint_least32_t char32_t; |
|
309 |
# endif |
|
310 |
typedef float swift_float2 __attribute__((__ext_vector_type__(2))); |
|
311 |
typedef float swift_float3 __attribute__((__ext_vector_type__(3))); |
|
312 |
typedef float swift_float4 __attribute__((__ext_vector_type__(4))); |
|
313 |
typedef double swift_double2 __attribute__((__ext_vector_type__(2))); |
|
314 |
typedef double swift_double3 __attribute__((__ext_vector_type__(3))); |
|
315 |
typedef double swift_double4 __attribute__((__ext_vector_type__(4))); |
|
316 |
typedef int swift_int2 __attribute__((__ext_vector_type__(2))); |
|
317 |
typedef int swift_int3 __attribute__((__ext_vector_type__(3))); |
|
318 |
typedef int swift_int4 __attribute__((__ext_vector_type__(4))); |
|
319 |
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); |
|
320 |
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); |
|
321 |
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
|
322 |
#endif |
|
323 |
|
|
324 |
#if !defined(SWIFT_PASTE) |
|
325 |
# define SWIFT_PASTE_HELPER(x, y) x##y |
|
326 |
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) |
|
327 |
#endif |
|
328 |
#if !defined(SWIFT_METATYPE) |
|
329 |
# define SWIFT_METATYPE(X) Class |
|
330 |
#endif |
|
331 |
#if !defined(SWIFT_CLASS_PROPERTY) |
|
332 |
# if __has_feature(objc_class_property) |
|
333 |
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ |
|
334 |
# else |
|
335 |
# define SWIFT_CLASS_PROPERTY(...) |
|
336 |
# endif |
|
337 |
#endif |
|
338 |
|
|
339 |
#if __has_attribute(objc_runtime_name) |
|
340 |
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) |
|
341 |
#else |
|
342 |
# define SWIFT_RUNTIME_NAME(X) |
|
343 |
#endif |
|
344 |
#if __has_attribute(swift_name) |
|
345 |
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) |
|
346 |
#else |
|
347 |
# define SWIFT_COMPILE_NAME(X) |
|
348 |
#endif |
|
349 |
#if __has_attribute(objc_method_family) |
|
350 |
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) |
|
351 |
#else |
|
352 |
# define SWIFT_METHOD_FAMILY(X) |
|
353 |
#endif |
|
354 |
#if __has_attribute(noescape) |
|
355 |
# define SWIFT_NOESCAPE __attribute__((noescape)) |
|
356 |
#else |
|
357 |
# define SWIFT_NOESCAPE |
|
358 |
#endif |
|
359 |
#if __has_attribute(ns_consumed) |
|
360 |
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) |
|
361 |
#else |
|
362 |
# define SWIFT_RELEASES_ARGUMENT |
|
363 |
#endif |
|
364 |
#if __has_attribute(warn_unused_result) |
|
365 |
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
|
366 |
#else |
|
367 |
# define SWIFT_WARN_UNUSED_RESULT |
|
368 |
#endif |
|
369 |
#if __has_attribute(noreturn) |
|
370 |
# define SWIFT_NORETURN __attribute__((noreturn)) |
|
371 |
#else |
|
372 |
# define SWIFT_NORETURN |
|
373 |
#endif |
|
374 |
#if !defined(SWIFT_CLASS_EXTRA) |
|
375 |
# define SWIFT_CLASS_EXTRA |
|
376 |
#endif |
|
377 |
#if !defined(SWIFT_PROTOCOL_EXTRA) |
|
378 |
# define SWIFT_PROTOCOL_EXTRA |
|
379 |
#endif |
|
380 |
#if !defined(SWIFT_ENUM_EXTRA) |
|
381 |
# define SWIFT_ENUM_EXTRA |
|
382 |
#endif |
|
383 |
#if !defined(SWIFT_CLASS) |
|
384 |
# if __has_attribute(objc_subclassing_restricted) |
|
385 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA |
|
386 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
387 |
# else |
|
388 |
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
389 |
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA |
|
390 |
# endif |
|
391 |
#endif |
|
392 |
#if !defined(SWIFT_RESILIENT_CLASS) |
|
393 |
# if __has_attribute(objc_class_stub) |
|
394 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) |
|
395 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
396 |
# else |
|
397 |
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) |
|
398 |
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) |
|
399 |
# endif |
|
400 |
#endif |
|
401 |
|
|
402 |
#if !defined(SWIFT_PROTOCOL) |
|
403 |
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
404 |
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA |
|
405 |
#endif |
|
406 |
|
|
407 |
#if !defined(SWIFT_EXTENSION) |
|
408 |
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) |
|
409 |
#endif |
|
410 |
|
|
411 |
#if !defined(OBJC_DESIGNATED_INITIALIZER) |
|
412 |
# if __has_attribute(objc_designated_initializer) |
|
413 |
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) |
|
414 |
# else |
|
415 |
# define OBJC_DESIGNATED_INITIALIZER |
|
416 |
# endif |
|
417 |
#endif |
|
418 |
#if !defined(SWIFT_ENUM_ATTR) |
|
419 |
# if defined(__has_attribute) && __has_attribute(enum_extensibility) |
|
420 |
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) |
|
421 |
# else |
|
422 |
# define SWIFT_ENUM_ATTR(_extensibility) |
|
423 |
# endif |
|
424 |
#endif |
|
425 |
#if !defined(SWIFT_ENUM) |
|
426 |
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type |
|
427 |
# if __has_feature(generalized_swift_name) |
|
428 |
# 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 |
|
429 |
# else |
|
430 |
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) |
|
431 |
# endif |
|
432 |
#endif |
|
433 |
#if !defined(SWIFT_UNAVAILABLE) |
|
434 |
# define SWIFT_UNAVAILABLE __attribute__((unavailable)) |
|
435 |
#endif |
|
436 |
#if !defined(SWIFT_UNAVAILABLE_MSG) |
|
437 |
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) |
|
438 |
#endif |
|
439 |
#if !defined(SWIFT_AVAILABILITY) |
|
440 |
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) |
|
441 |
#endif |
|
442 |
#if !defined(SWIFT_WEAK_IMPORT) |
|
443 |
# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) |
|
444 |
#endif |
|
445 |
#if !defined(SWIFT_DEPRECATED) |
|
446 |
# define SWIFT_DEPRECATED __attribute__((deprecated)) |
|
447 |
#endif |
|
448 |
#if !defined(SWIFT_DEPRECATED_MSG) |
|
449 |
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) |
|
450 |
#endif |
|
451 |
#if __has_feature(attribute_diagnose_if_objc) |
|
452 |
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) |
|
453 |
#else |
|
454 |
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) |
|
455 |
#endif |
8fa52d
|
456 |
#if defined(__OBJC__) |
aca600
|
457 |
#if !defined(IBSegueAction) |
L |
458 |
# define IBSegueAction |
8fa52d
|
459 |
#endif |
aca600
|
460 |
#endif |
L |
461 |
#if !defined(SWIFT_EXTERN) |
|
462 |
# if defined(__cplusplus) |
|
463 |
# define SWIFT_EXTERN extern "C" |
|
464 |
# else |
|
465 |
# define SWIFT_EXTERN extern |
|
466 |
# endif |
|
467 |
#endif |
8fa52d
|
468 |
#if !defined(SWIFT_CALL) |
L |
469 |
# define SWIFT_CALL __attribute__((swiftcall)) |
|
470 |
#endif |
|
471 |
#if defined(__cplusplus) |
|
472 |
#if !defined(SWIFT_NOEXCEPT) |
|
473 |
# define SWIFT_NOEXCEPT noexcept |
|
474 |
#endif |
|
475 |
#else |
|
476 |
#if !defined(SWIFT_NOEXCEPT) |
|
477 |
# define SWIFT_NOEXCEPT |
|
478 |
#endif |
|
479 |
#endif |
|
480 |
#if defined(__cplusplus) |
|
481 |
#if !defined(SWIFT_CXX_INT_DEFINED) |
|
482 |
#define SWIFT_CXX_INT_DEFINED |
|
483 |
namespace swift { |
|
484 |
using Int = ptrdiff_t; |
|
485 |
using UInt = size_t; |
|
486 |
} |
|
487 |
#endif |
|
488 |
#endif |
|
489 |
#if defined(__OBJC__) |
aca600
|
490 |
#if __has_feature(modules) |
L |
491 |
#if __has_warning("-Watimport-in-framework-header") |
|
492 |
#pragma clang diagnostic ignored "-Watimport-in-framework-header" |
|
493 |
#endif |
|
494 |
#endif |
|
495 |
|
8fa52d
|
496 |
#endif |
aca600
|
497 |
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" |
L |
498 |
#pragma clang diagnostic ignored "-Wduplicate-method-arg" |
|
499 |
#if __has_warning("-Wpragma-clang-attribute") |
|
500 |
# pragma clang diagnostic ignored "-Wpragma-clang-attribute" |
|
501 |
#endif |
|
502 |
#pragma clang diagnostic ignored "-Wunknown-pragmas" |
|
503 |
#pragma clang diagnostic ignored "-Wnullability" |
8fa52d
|
504 |
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" |
aca600
|
505 |
|
L |
506 |
#if __has_attribute(external_source_symbol) |
|
507 |
# pragma push_macro("any") |
|
508 |
# undef any |
8fa52d
|
509 |
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FirebaseAnalytics",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) |
aca600
|
510 |
# pragma pop_macro("any") |
L |
511 |
#endif |
|
512 |
|
8fa52d
|
513 |
#if defined(__OBJC__) |
L |
514 |
|
|
515 |
#endif |
|
516 |
#if defined(__cplusplus) |
|
517 |
#endif |
aca600
|
518 |
#if __has_attribute(external_source_symbol) |
L |
519 |
# pragma clang attribute pop |
|
520 |
#endif |
|
521 |
#pragma clang diagnostic pop |
|
522 |
#endif |
|
523 |
|
8fa52d
|
524 |
#else |
L |
525 |
#error unsupported Swift architecture |
aca600
|
526 |
#endif |