1
1
#if 0
2
2
#elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51 )
3
+ // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4 )
4
4
#ifndef MADVERTISELOCATION_SWIFT_H
5
5
#define MADVERTISELOCATION_SWIFT_H
6
6
#pragma clang diagnostic push
23
23
# include <swift/objc-prologue.h>
24
24
#endif
25
25
26
- #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
26
#pragma clang diagnostic ignored "-Wauto-import"
28
27
#if defined(__OBJC__)
29
28
#include <Foundation/Foundation.h>
32
31
#include <cstdint>
33
32
#include <cstddef>
34
33
#include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
35
38
#else
36
39
#include <stdint.h>
37
40
#include <stddef.h>
38
41
#include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
46
+ # include <ptrauth.h>
47
+ #else
48
+ #pragma clang diagnostic push
49
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
50
+ # ifndef __ptrauth_swift_value_witness_function_pointer
51
+ # define __ptrauth_swift_value_witness_function_pointer(x)
52
+ # endif
53
+ # ifndef __ptrauth_swift_class_method_pointer
54
+ # define __ptrauth_swift_class_method_pointer(x)
55
+ # endif
56
+ #pragma clang diagnostic pop
57
+ #endif
39
58
#endif
40
59
41
60
#if !defined(SWIFT_TYPEDEFS)
@@ -71,53 +90,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
71
90
# if __has_feature(objc_class_property)
72
91
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
92
# else
74
- # define SWIFT_CLASS_PROPERTY(...)
93
+ # define SWIFT_CLASS_PROPERTY(...)
75
94
# endif
76
95
#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)
96
+ #if !defined(SWIFT_RUNTIME_NAME)
97
+ # if __has_attribute(objc_runtime_name)
98
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
99
+ # else
100
+ # define SWIFT_RUNTIME_NAME(X)
101
+ # endif
82
102
#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)
103
+ #if !defined(SWIFT_COMPILE_NAME)
104
+ # if __has_attribute(swift_name)
105
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
106
+ # else
107
+ # define SWIFT_COMPILE_NAME(X)
108
+ # endif
87
109
#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)
110
+ #if !defined(SWIFT_METHOD_FAMILY)
111
+ # if __has_attribute(objc_method_family)
112
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
113
+ # else
114
+ # define SWIFT_METHOD_FAMILY(X)
115
+ # endif
92
116
#endif
93
- #if __has_attribute(noescape)
94
- # define SWIFT_NOESCAPE __attribute__((noescape))
95
- #else
96
- # define SWIFT_NOESCAPE
117
+ #if !defined(SWIFT_NOESCAPE)
118
+ # if __has_attribute(noescape)
119
+ # define SWIFT_NOESCAPE __attribute__((noescape))
120
+ # else
121
+ # define SWIFT_NOESCAPE
122
+ # endif
97
123
#endif
98
- #if __has_attribute(ns_consumed)
99
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
- #else
101
- # define SWIFT_RELEASES_ARGUMENT
124
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
125
+ # if __has_attribute(ns_consumed)
126
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
127
+ # else
128
+ # define SWIFT_RELEASES_ARGUMENT
129
+ # endif
102
130
#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
131
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
132
+ # if __has_attribute(warn_unused_result)
133
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
134
+ # else
135
+ # define SWIFT_WARN_UNUSED_RESULT
136
+ # endif
107
137
#endif
108
- #if __has_attribute(noreturn)
109
- # define SWIFT_NORETURN __attribute__((noreturn))
110
- #else
111
- # define SWIFT_NORETURN
138
+ #if !defined(SWIFT_NORETURN)
139
+ # if __has_attribute(noreturn)
140
+ # define SWIFT_NORETURN __attribute__((noreturn))
141
+ # else
142
+ # define SWIFT_NORETURN
143
+ # endif
112
144
#endif
113
145
#if !defined(SWIFT_CLASS_EXTRA)
114
- # define SWIFT_CLASS_EXTRA
146
+ # define SWIFT_CLASS_EXTRA
115
147
#endif
116
148
#if !defined(SWIFT_PROTOCOL_EXTRA)
117
- # define SWIFT_PROTOCOL_EXTRA
149
+ # define SWIFT_PROTOCOL_EXTRA
118
150
#endif
119
151
#if !defined(SWIFT_ENUM_EXTRA)
120
- # define SWIFT_ENUM_EXTRA
152
+ # define SWIFT_ENUM_EXTRA
121
153
#endif
122
154
#if !defined(SWIFT_CLASS)
123
155
# if __has_attribute(objc_subclassing_restricted)
@@ -137,28 +169,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
137
169
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
170
# endif
139
171
#endif
140
-
141
172
#if !defined(SWIFT_PROTOCOL)
142
173
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
174
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
175
#endif
145
-
146
176
#if !defined(SWIFT_EXTENSION)
147
177
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
178
#endif
149
-
150
179
#if !defined(OBJC_DESIGNATED_INITIALIZER)
151
180
# if __has_attribute(objc_designated_initializer)
152
181
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
182
# else
154
- # define OBJC_DESIGNATED_INITIALIZER
183
+ # define OBJC_DESIGNATED_INITIALIZER
155
184
# endif
156
185
#endif
157
186
#if !defined(SWIFT_ENUM_ATTR)
158
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
187
+ # if __has_attribute(enum_extensibility)
159
188
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
189
# else
161
- # define SWIFT_ENUM_ATTR(_extensibility)
190
+ # define SWIFT_ENUM_ATTR(_extensibility)
162
191
# endif
163
192
#endif
164
193
#if !defined(SWIFT_ENUM)
@@ -187,14 +216,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
187
216
#if !defined(SWIFT_DEPRECATED_MSG)
188
217
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
218
#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)
219
+ #if !defined(SWIFT_DEPRECATED_OBJC)
220
+ # if __has_feature(attribute_diagnose_if_objc)
221
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
222
+ # else
223
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
224
+ # endif
194
225
#endif
195
226
#if defined(__OBJC__)
196
227
#if !defined(IBSegueAction)
197
- # define IBSegueAction
228
+ # define IBSegueAction
198
229
#endif
199
230
#endif
200
231
#if !defined(SWIFT_EXTERN)
@@ -207,26 +238,42 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
207
238
#if !defined(SWIFT_CALL)
208
239
# define SWIFT_CALL __attribute__((swiftcall))
209
240
#endif
241
+ #if !defined(SWIFT_INDIRECT_RESULT)
242
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
243
+ #endif
244
+ #if !defined(SWIFT_CONTEXT)
245
+ # define SWIFT_CONTEXT __attribute__((swift_context))
246
+ #endif
247
+ #if !defined(SWIFT_ERROR_RESULT)
248
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
249
+ #endif
210
250
#if defined(__cplusplus)
211
- #if !defined(SWIFT_NOEXCEPT)
212
251
# define SWIFT_NOEXCEPT noexcept
213
- #endif
214
252
#else
215
- #if !defined(SWIFT_NOEXCEPT)
216
253
# define SWIFT_NOEXCEPT
217
254
#endif
255
+ #if !defined(SWIFT_C_INLINE_THUNK)
256
+ # if __has_attribute(always_inline)
257
+ # if __has_attribute(nodebug)
258
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
259
+ # else
260
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
261
+ # endif
262
+ # else
263
+ # define SWIFT_C_INLINE_THUNK inline
264
+ # endif
218
265
#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
- }
266
+ #if defined(_WIN32 )
267
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL )
268
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
269
+ #endif
270
+ #else
271
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
226
273
#endif
227
274
#endif
228
275
#if defined(__OBJC__)
229
- #if __has_feature(modules )
276
+ #if __has_feature(objc_modules )
230
277
#if __has_warning("-Watimport-in-framework-header")
231
278
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
279
#endif
@@ -300,12 +347,12 @@ SWIFT_CLASS("_TtC18MAdvertiseLocation17MadvertiseBuilder")
300
347
@end
301
348
302
349
303
- #endif
304
- #if defined(__cplusplus)
305
350
#endif
306
351
#if __has_attribute(external_source_symbol)
307
352
# pragma clang attribute pop
308
353
#endif
354
+ #if defined(__cplusplus)
355
+ #endif
309
356
#pragma clang diagnostic pop
310
357
#endif
311
358
0 commit comments