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.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
24#ifndef SUPPORTSDK_SWIFT_H
35#define SUPPORTSDK_SWIFT_H
46#pragma clang diagnostic push
2224#endif
2325
2426#pragma clang diagnostic ignored "-Wauto-import"
27+ #if defined(__OBJC__)
2528#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
2639#include <stdint.h>
2740#include <stddef.h>
2841#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
58+ #endif
2959
3060#if !defined(SWIFT_TYPEDEFS)
3161# define SWIFT_TYPEDEFS 1
@@ -60,53 +90,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
6090# if __has_feature(objc_class_property)
6191# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
6292# else
63- # define SWIFT_CLASS_PROPERTY (...)
93+ # define SWIFT_CLASS_PROPERTY(...)
6494# endif
6595#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 )
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
71102#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 )
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
76109#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 )
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
81116#endif
82- #if __has_attribute(noescape)
83- # define SWIFT_NOESCAPE __attribute__ ((noescape))
84- #else
85- # 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
86123#endif
87- #if __has_attribute(ns_consumed)
88- # define SWIFT_RELEASES_ARGUMENT __attribute__ ((ns_consumed))
89- #else
90- # 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
91130#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
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
96137#endif
97- #if __has_attribute(noreturn)
98- # define SWIFT_NORETURN __attribute__ ((noreturn))
99- #else
100- # 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
101144#endif
102145#if !defined(SWIFT_CLASS_EXTRA)
103- # define SWIFT_CLASS_EXTRA
146+ # define SWIFT_CLASS_EXTRA
104147#endif
105148#if !defined(SWIFT_PROTOCOL_EXTRA)
106- # define SWIFT_PROTOCOL_EXTRA
149+ # define SWIFT_PROTOCOL_EXTRA
107150#endif
108151#if !defined(SWIFT_ENUM_EXTRA)
109- # define SWIFT_ENUM_EXTRA
152+ # define SWIFT_ENUM_EXTRA
110153#endif
111154#if !defined(SWIFT_CLASS)
112155# if __has_attribute(objc_subclassing_restricted)
@@ -126,28 +169,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
126169# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127170# endif
128171#endif
129-
130172#if !defined(SWIFT_PROTOCOL)
131173# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132174# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133175#endif
134-
135176#if !defined(SWIFT_EXTENSION)
136177# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137178#endif
138-
139179#if !defined(OBJC_DESIGNATED_INITIALIZER)
140180# if __has_attribute(objc_designated_initializer)
141181# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142182# else
143- # define OBJC_DESIGNATED_INITIALIZER
183+ # define OBJC_DESIGNATED_INITIALIZER
144184# endif
145185#endif
146186#if !defined(SWIFT_ENUM_ATTR)
147- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
187+ # if __has_attribute(enum_extensibility)
148188# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149189# else
150- # define SWIFT_ENUM_ATTR (_extensibility )
190+ # define SWIFT_ENUM_ATTR(_extensibility)
151191# endif
152192#endif
153193#if !defined(SWIFT_ENUM)
@@ -176,13 +216,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
176216#if !defined(SWIFT_DEPRECATED_MSG)
177217# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178218#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)
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
183225#endif
226+ #if defined(__OBJC__)
184227#if !defined(IBSegueAction)
185- # define IBSegueAction
228+ # define IBSegueAction
229+ #endif
186230#endif
187231#if !defined(SWIFT_EXTERN)
188232# if defined(__cplusplus)
@@ -191,7 +235,45 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
191235# define SWIFT_EXTERN extern
192236# endif
193237#endif
194- #if __has_feature(modules)
238+ #if !defined(SWIFT_CALL)
239+ # define SWIFT_CALL __attribute__((swiftcall))
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
250+ #if defined(__cplusplus)
251+ # define SWIFT_NOEXCEPT noexcept
252+ #else
253+ # define SWIFT_NOEXCEPT
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
265+ #endif
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
273+ #endif
274+ #endif
275+ #if defined(__OBJC__)
276+ #if __has_feature(objc_modules)
195277#if __has_warning("-Watimport-in-framework-header")
196278#pragma clang diagnostic ignored "-Watimport-in-framework-header"
197279#endif
@@ -204,13 +286,15 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
204286
205287#import <SupportSDK/SupportSDK.h>
206288
289+ #endif
207290#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
208291#pragma clang diagnostic ignored "-Wduplicate-method-arg"
209292#if __has_warning("-Wpragma-clang-attribute")
210293# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
211294#endif
212295#pragma clang diagnostic ignored "-Wunknown-pragmas"
213296#pragma clang diagnostic ignored "-Wnullability"
297+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
214298
215299#if __has_attribute(external_source_symbol)
216300# pragma push_macro("any")
@@ -219,6 +303,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
219303# pragma pop_macro("any")
220304#endif
221305
306+ #if defined(__OBJC__)
222307
223308
224309
@@ -636,6 +721,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) ZDKTheme * _
636721
637722
638723
724+
725+
639726SWIFT_CLASS("_TtC10SupportSDK12ZDKConstants")
640727@interface ZDKConstants : NSObject
641728+ (UIColor * _Nonnull)colorForToast SWIFT_WARN_UNUSED_RESULT;
@@ -645,8 +732,15 @@ SWIFT_CLASS("_TtC10SupportSDK12ZDKConstants")
645732
646733
647734
735+ #endif
648736#if __has_attribute(external_source_symbol)
649737# pragma clang attribute pop
650738#endif
739+ #if defined(__cplusplus)
740+ #endif
651741#pragma clang diagnostic pop
652742#endif
743+
744+ #else
745+ #error unsupported Swift architecture
746+ #endif
0 commit comments