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