1
1
#if 0
2
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 )
3
+ // Generated by Apple Swift version 5.7.2 (swiftlang-5.7.2.135 .5 clang-1400 .0.29.51 )
4
4
#ifndef SENDBIRDUIKIT_SWIFT_H
5
5
#define SENDBIRDUIKIT_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"
26
27
#pragma clang diagnostic ignored "-Wauto-import"
27
28
#if defined(__OBJC__)
28
29
#include <Foundation/Foundation.h>
31
32
#include <cstdint>
32
33
#include <cstddef>
33
34
#include <cstdbool>
34
- #include <cstring>
35
- #include <stdlib.h>
36
- #include <new>
37
- #include <type_traits>
38
35
#else
39
36
#include <stdint.h>
40
37
#include <stddef.h>
41
38
#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
39
#endif
53
40
54
41
#if !defined(SWIFT_TYPEDEFS)
@@ -84,66 +71,53 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
84
71
# if __has_feature(objc_class_property)
85
72
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
86
73
# else
87
- # define SWIFT_CLASS_PROPERTY(...)
74
+ # define SWIFT_CLASS_PROPERTY(...)
88
75
# endif
89
76
#endif
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
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
82
#endif
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
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
87
#endif
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
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
92
#endif
111
- #if !defined(SWIFT_NOESCAPE)
112
- # if __has_attribute(noescape)
113
- # define SWIFT_NOESCAPE __attribute__((noescape))
114
- # else
115
- # define SWIFT_NOESCAPE
116
- # endif
93
+ #if __has_attribute(noescape)
94
+ # define SWIFT_NOESCAPE __attribute__((noescape))
95
+ #else
96
+ # define SWIFT_NOESCAPE
117
97
#endif
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
98
+ #if __has_attribute(ns_consumed)
99
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
+ #else
101
+ # define SWIFT_RELEASES_ARGUMENT
124
102
#endif
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
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
107
#endif
132
- #if !defined(SWIFT_NORETURN)
133
- # if __has_attribute(noreturn)
134
- # define SWIFT_NORETURN __attribute__((noreturn))
135
- # else
136
- # define SWIFT_NORETURN
137
- # endif
108
+ #if __has_attribute(noreturn)
109
+ # define SWIFT_NORETURN __attribute__((noreturn))
110
+ #else
111
+ # define SWIFT_NORETURN
138
112
#endif
139
113
#if !defined(SWIFT_CLASS_EXTRA)
140
- # define SWIFT_CLASS_EXTRA
114
+ # define SWIFT_CLASS_EXTRA
141
115
#endif
142
116
#if !defined(SWIFT_PROTOCOL_EXTRA)
143
- # define SWIFT_PROTOCOL_EXTRA
117
+ # define SWIFT_PROTOCOL_EXTRA
144
118
#endif
145
119
#if !defined(SWIFT_ENUM_EXTRA)
146
- # define SWIFT_ENUM_EXTRA
120
+ # define SWIFT_ENUM_EXTRA
147
121
#endif
148
122
#if !defined(SWIFT_CLASS)
149
123
# if __has_attribute(objc_subclassing_restricted)
@@ -163,25 +137,28 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
163
137
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
164
138
# endif
165
139
#endif
140
+
166
141
#if !defined(SWIFT_PROTOCOL)
167
142
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
168
143
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
169
144
#endif
145
+
170
146
#if !defined(SWIFT_EXTENSION)
171
147
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
172
148
#endif
149
+
173
150
#if !defined(OBJC_DESIGNATED_INITIALIZER)
174
151
# if __has_attribute(objc_designated_initializer)
175
152
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
176
153
# else
177
- # define OBJC_DESIGNATED_INITIALIZER
154
+ # define OBJC_DESIGNATED_INITIALIZER
178
155
# endif
179
156
#endif
180
157
#if !defined(SWIFT_ENUM_ATTR)
181
- # if __has_attribute(enum_extensibility)
158
+ # if defined(__has_attribute) && __has_attribute(enum_extensibility)
182
159
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
183
160
# else
184
- # define SWIFT_ENUM_ATTR(_extensibility)
161
+ # define SWIFT_ENUM_ATTR(_extensibility)
185
162
# endif
186
163
#endif
187
164
#if !defined(SWIFT_ENUM)
@@ -210,16 +187,14 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
210
187
#if !defined(SWIFT_DEPRECATED_MSG)
211
188
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
212
189
#endif
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
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
194
#endif
220
195
#if defined(__OBJC__)
221
196
#if !defined(IBSegueAction)
222
- # define IBSegueAction
197
+ # define IBSegueAction
223
198
#endif
224
199
#endif
225
200
#if !defined(SWIFT_EXTERN)
@@ -232,31 +207,26 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
232
207
#if !defined(SWIFT_CALL)
233
208
# define SWIFT_CALL __attribute__((swiftcall))
234
209
#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
210
#if defined(__cplusplus)
211
+ #if !defined(SWIFT_NOEXCEPT)
245
212
# define SWIFT_NOEXCEPT noexcept
213
+ #endif
246
214
#else
215
+ #if !defined(SWIFT_NOEXCEPT)
247
216
# define SWIFT_NOEXCEPT
248
217
#endif
249
- #if defined(_WIN32)
250
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
252
218
#endif
253
- #else
254
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
255
- # define SWIFT_IMPORT_STDLIB_SYMBOL
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
+ }
256
226
#endif
257
227
#endif
258
228
#if defined(__OBJC__)
259
- #if __has_feature(objc_modules )
229
+ #if __has_feature(modules )
260
230
#if __has_warning("-Watimport-in-framework-header")
261
231
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
262
232
#endif
0 commit comments