CryptoSwift-Swift.h 15 KB

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