11#if 0
22#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.9 .2 (swiftlang-5.9 .2.2.56 clang-1500.1.0.2.5 )
44#ifndef CTXMAMAPPCORE_SWIFT_H
55#define CTXMAMAPPCORE_SWIFT_H
66#pragma clang diagnostic push
2323# include <swift/objc-prologue.h>
2424#endif
2525
26- #pragma clang diagnostic ignored "-Wduplicate-method-match"
2726#pragma clang diagnostic ignored "-Wauto-import"
2827#if defined(__OBJC__)
2928#include <Foundation/Foundation.h>
3231#include <cstdint>
3332#include <cstddef>
3433#include <cstdbool>
34+ #include <cstring>
35+ #include <stdlib.h>
36+ #include <new>
37+ #include <type_traits>
3538#else
3639#include <stdint.h>
3740#include <stddef.h>
3841#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
3958#endif
4059
4160#if !defined(SWIFT_TYPEDEFS)
@@ -71,53 +90,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
7190# if __has_feature(objc_class_property)
7291# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
7392# else
74- # define SWIFT_CLASS_PROPERTY(...)
93+ # define SWIFT_CLASS_PROPERTY(...)
7594# endif
7695#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
82102#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
87109#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
92116#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
97123#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
102130#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
107137#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
112144#endif
113145#if !defined(SWIFT_CLASS_EXTRA)
114- # define SWIFT_CLASS_EXTRA
146+ # define SWIFT_CLASS_EXTRA
115147#endif
116148#if !defined(SWIFT_PROTOCOL_EXTRA)
117- # define SWIFT_PROTOCOL_EXTRA
149+ # define SWIFT_PROTOCOL_EXTRA
118150#endif
119151#if !defined(SWIFT_ENUM_EXTRA)
120- # define SWIFT_ENUM_EXTRA
152+ # define SWIFT_ENUM_EXTRA
121153#endif
122154#if !defined(SWIFT_CLASS)
123155# if __has_attribute(objc_subclassing_restricted)
@@ -137,28 +169,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
137169# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138170# endif
139171#endif
140-
141172#if !defined(SWIFT_PROTOCOL)
142173# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143174# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144175#endif
145-
146176#if !defined(SWIFT_EXTENSION)
147177# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148178#endif
149-
150179#if !defined(OBJC_DESIGNATED_INITIALIZER)
151180# if __has_attribute(objc_designated_initializer)
152181# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153182# else
154- # define OBJC_DESIGNATED_INITIALIZER
183+ # define OBJC_DESIGNATED_INITIALIZER
155184# endif
156185#endif
157186#if !defined(SWIFT_ENUM_ATTR)
158- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
187+ # if __has_attribute(enum_extensibility)
159188# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160189# else
161- # define SWIFT_ENUM_ATTR(_extensibility)
190+ # define SWIFT_ENUM_ATTR(_extensibility)
162191# endif
163192#endif
164193#if !defined(SWIFT_ENUM)
@@ -187,14 +216,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
187216#if !defined(SWIFT_DEPRECATED_MSG)
188217# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189218#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
194225#endif
195226#if defined(__OBJC__)
196227#if !defined(IBSegueAction)
197- # define IBSegueAction
228+ # define IBSegueAction
198229#endif
199230#endif
200231#if !defined(SWIFT_EXTERN)
@@ -207,26 +238,42 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
207238#if !defined(SWIFT_CALL)
208239# define SWIFT_CALL __attribute__((swiftcall))
209240#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
210250#if defined(__cplusplus)
211- #if !defined(SWIFT_NOEXCEPT)
212251# define SWIFT_NOEXCEPT noexcept
213- #endif
214252#else
215- #if !defined(SWIFT_NOEXCEPT)
216253# define SWIFT_NOEXCEPT
217254#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
218265#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
226273#endif
227274#endif
228275#if defined(__OBJC__)
229- #if __has_feature(modules )
276+ #if __has_feature(objc_modules )
230277#if __has_warning("-Watimport-in-framework-header")
231278#pragma clang diagnostic ignored "-Watimport-in-framework-header"
232279#endif
@@ -251,11 +298,11 @@ using UInt = size_t;
251298
252299#if defined(__OBJC__)
253300#endif
254- #if defined(__cplusplus)
255- #endif
256301#if __has_attribute(external_source_symbol)
257302# pragma clang attribute pop
258303#endif
304+ #if defined(__cplusplus)
305+ #endif
259306#pragma clang diagnostic pop
260307#endif
261308
0 commit comments