freerasp-react-native 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -39
- package/android/build.gradle +7 -3
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +4 -0
- package/example/android/app/build.gradle +9 -1
- package/example/android/build.gradle +1 -1
- package/example/src/App.tsx +5 -5
- package/example/src/checks.ts +3 -4
- package/ios/FreeraspReactNative.swift +11 -8
- package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +122 -47
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +5248 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +54 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +2 -2
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +234 -94
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +5213 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +54 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +5213 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +54 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +2 -2
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +63 -19
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +5 -1
- package/example/ios/Podfile.lock +0 -590
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
import Foundation
|
|
6
|
+
import LocalAuthentication
|
|
7
|
+
import TalsecRuntime.Private
|
|
8
|
+
import Security
|
|
9
|
+
import Swift
|
|
10
|
+
@_exported import TalsecRuntime
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
public protocol SecurityThreatHandler {
|
|
15
|
+
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
|
|
16
|
+
}
|
|
17
|
+
@_hasMissingDesignatedInitializers public class SecurityThreatCenter {
|
|
18
|
+
@objc deinit
|
|
19
|
+
}
|
|
20
|
+
public struct TalsecConfig {
|
|
21
|
+
public let appBundleIds: [Swift.String]
|
|
22
|
+
public let appTeamId: Swift.String
|
|
23
|
+
public let watcherMailAddress: Swift.String?
|
|
24
|
+
public let isProd: Swift.Bool?
|
|
25
|
+
public init(appBundleIds: [Swift.String], appTeamId: Swift.String, watcherMailAddress: Swift.String?, isProd: Swift.Bool? = true)
|
|
26
|
+
}
|
|
27
|
+
@_hasMissingDesignatedInitializers public class Talsec {
|
|
28
|
+
public static func start(config: TalsecRuntime.TalsecConfig)
|
|
29
|
+
@objc deinit
|
|
30
|
+
}
|
|
31
|
+
public enum SecurityThreat : Swift.String, Swift.Codable, Swift.CaseIterable, Swift.Equatable {
|
|
32
|
+
case signature
|
|
33
|
+
case jailbreak
|
|
34
|
+
case debugger
|
|
35
|
+
case runtimeManipulation
|
|
36
|
+
case passcode
|
|
37
|
+
case passcodeChange
|
|
38
|
+
case simulator
|
|
39
|
+
case missingSecureEnclave
|
|
40
|
+
case deviceChange
|
|
41
|
+
case deviceID
|
|
42
|
+
case unofficialStore
|
|
43
|
+
public init?(rawValue: Swift.String)
|
|
44
|
+
public typealias AllCases = [TalsecRuntime.SecurityThreat]
|
|
45
|
+
public typealias RawValue = Swift.String
|
|
46
|
+
public static var allCases: [TalsecRuntime.SecurityThreat] {
|
|
47
|
+
get
|
|
48
|
+
}
|
|
49
|
+
public var rawValue: Swift.String {
|
|
50
|
+
get
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
extension TalsecRuntime.SecurityThreat : Swift.Hashable {}
|
|
54
|
+
extension TalsecRuntime.SecurityThreat : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios11.2 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TalsecRuntime
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
4
5
|
import Foundation
|
|
5
6
|
import LocalAuthentication
|
|
6
7
|
import TalsecRuntime.Private
|
|
@@ -9,6 +10,7 @@ import Swift
|
|
|
9
10
|
@_exported import TalsecRuntime
|
|
10
11
|
import UIKit
|
|
11
12
|
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
12
14
|
public protocol SecurityThreatHandler {
|
|
13
15
|
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
|
|
14
16
|
}
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 5.
|
|
3
|
+
// Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
4
4
|
#ifndef TALSECRUNTIME_SWIFT_H
|
|
5
5
|
#define TALSECRUNTIME_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -24,10 +24,32 @@
|
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
26
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
27
28
|
#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
|
|
28
39
|
#include <stdint.h>
|
|
29
40
|
#include <stddef.h>
|
|
30
41
|
#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
|
+
#endif
|
|
31
53
|
|
|
32
54
|
#if !defined(SWIFT_TYPEDEFS)
|
|
33
55
|
# define SWIFT_TYPEDEFS 1
|
|
@@ -62,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
62
84
|
# if __has_feature(objc_class_property)
|
|
63
85
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
64
86
|
# else
|
|
65
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
87
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
66
88
|
# endif
|
|
67
89
|
#endif
|
|
68
|
-
|
|
69
|
-
#if __has_attribute(objc_runtime_name)
|
|
70
|
-
#
|
|
71
|
-
#else
|
|
72
|
-
#
|
|
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
|
|
73
96
|
#endif
|
|
74
|
-
#if
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
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
|
|
78
103
|
#endif
|
|
79
|
-
#if
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
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
|
|
83
110
|
#endif
|
|
84
|
-
#if
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
111
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
112
|
+
# if __has_attribute(noescape)
|
|
113
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
114
|
+
# else
|
|
115
|
+
# define SWIFT_NOESCAPE
|
|
116
|
+
# endif
|
|
88
117
|
#endif
|
|
89
|
-
#if
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
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
|
|
93
124
|
#endif
|
|
94
|
-
#if
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
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
|
|
98
131
|
#endif
|
|
99
|
-
#if
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
#
|
|
132
|
+
#if !defined(SWIFT_NORETURN)
|
|
133
|
+
# if __has_attribute(noreturn)
|
|
134
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
135
|
+
# else
|
|
136
|
+
# define SWIFT_NORETURN
|
|
137
|
+
# endif
|
|
103
138
|
#endif
|
|
104
139
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
105
|
-
# define SWIFT_CLASS_EXTRA
|
|
140
|
+
# define SWIFT_CLASS_EXTRA
|
|
106
141
|
#endif
|
|
107
142
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
108
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
143
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
109
144
|
#endif
|
|
110
145
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
111
|
-
# define SWIFT_ENUM_EXTRA
|
|
146
|
+
# define SWIFT_ENUM_EXTRA
|
|
112
147
|
#endif
|
|
113
148
|
#if !defined(SWIFT_CLASS)
|
|
114
149
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -128,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
128
163
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
129
164
|
# endif
|
|
130
165
|
#endif
|
|
131
|
-
|
|
132
166
|
#if !defined(SWIFT_PROTOCOL)
|
|
133
167
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
134
168
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
135
169
|
#endif
|
|
136
|
-
|
|
137
170
|
#if !defined(SWIFT_EXTENSION)
|
|
138
171
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
139
172
|
#endif
|
|
140
|
-
|
|
141
173
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
142
174
|
# if __has_attribute(objc_designated_initializer)
|
|
143
175
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
144
176
|
# else
|
|
145
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
177
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
146
178
|
# endif
|
|
147
179
|
#endif
|
|
148
180
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
149
|
-
# if
|
|
181
|
+
# if __has_attribute(enum_extensibility)
|
|
150
182
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
151
183
|
# else
|
|
152
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
184
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
153
185
|
# endif
|
|
154
186
|
#endif
|
|
155
187
|
#if !defined(SWIFT_ENUM)
|
|
@@ -178,13 +210,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
178
210
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
179
211
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
180
212
|
#endif
|
|
181
|
-
#if
|
|
182
|
-
#
|
|
183
|
-
#
|
|
184
|
-
#
|
|
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
|
|
185
219
|
#endif
|
|
220
|
+
#if defined(__OBJC__)
|
|
186
221
|
#if !defined(IBSegueAction)
|
|
187
|
-
# define IBSegueAction
|
|
222
|
+
# define IBSegueAction
|
|
223
|
+
#endif
|
|
188
224
|
#endif
|
|
189
225
|
#if !defined(SWIFT_EXTERN)
|
|
190
226
|
# if defined(__cplusplus)
|
|
@@ -193,12 +229,40 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
193
229
|
# define SWIFT_EXTERN extern
|
|
194
230
|
# endif
|
|
195
231
|
#endif
|
|
196
|
-
#if
|
|
232
|
+
#if !defined(SWIFT_CALL)
|
|
233
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
234
|
+
#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
|
+
#if defined(__cplusplus)
|
|
245
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
246
|
+
#else
|
|
247
|
+
# define SWIFT_NOEXCEPT
|
|
248
|
+
#endif
|
|
249
|
+
#if defined(_WIN32)
|
|
250
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
251
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
252
|
+
#endif
|
|
253
|
+
#else
|
|
254
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
255
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
256
|
+
#endif
|
|
257
|
+
#endif
|
|
258
|
+
#if defined(__OBJC__)
|
|
259
|
+
#if __has_feature(objc_modules)
|
|
197
260
|
#if __has_warning("-Watimport-in-framework-header")
|
|
198
261
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
199
262
|
#endif
|
|
200
263
|
#endif
|
|
201
264
|
|
|
265
|
+
#endif
|
|
202
266
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
203
267
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
204
268
|
#if __has_warning("-Wpragma-clang-attribute")
|
|
@@ -206,6 +270,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
206
270
|
#endif
|
|
207
271
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
208
272
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
273
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
209
274
|
|
|
210
275
|
#if __has_attribute(external_source_symbol)
|
|
211
276
|
# pragma push_macro("any")
|
|
@@ -214,9 +279,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
214
279
|
# pragma pop_macro("any")
|
|
215
280
|
#endif
|
|
216
281
|
|
|
282
|
+
#if defined(__OBJC__)
|
|
217
283
|
|
|
218
|
-
SWIFT_EXTERN void
|
|
284
|
+
SWIFT_EXTERN void __vOXbpNRhpnChjnGnjZhWdRZ(void);
|
|
219
285
|
|
|
286
|
+
#endif
|
|
287
|
+
#if defined(__cplusplus)
|
|
288
|
+
#endif
|
|
220
289
|
#if __has_attribute(external_source_symbol)
|
|
221
290
|
# pragma clang attribute pop
|
|
222
291
|
#endif
|
|
@@ -224,7 +293,7 @@ SWIFT_EXTERN void __UAEjWMMMrsiAVWBJDVKWmuV(void);
|
|
|
224
293
|
#endif
|
|
225
294
|
|
|
226
295
|
#elif defined(__x86_64__) && __x86_64__
|
|
227
|
-
// Generated by Apple Swift version 5.
|
|
296
|
+
// Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
228
297
|
#ifndef TALSECRUNTIME_SWIFT_H
|
|
229
298
|
#define TALSECRUNTIME_SWIFT_H
|
|
230
299
|
#pragma clang diagnostic push
|
|
@@ -248,10 +317,32 @@ SWIFT_EXTERN void __UAEjWMMMrsiAVWBJDVKWmuV(void);
|
|
|
248
317
|
#endif
|
|
249
318
|
|
|
250
319
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
320
|
+
#if defined(__OBJC__)
|
|
251
321
|
#include <Foundation/Foundation.h>
|
|
322
|
+
#endif
|
|
323
|
+
#if defined(__cplusplus)
|
|
324
|
+
#include <cstdint>
|
|
325
|
+
#include <cstddef>
|
|
326
|
+
#include <cstdbool>
|
|
327
|
+
#include <cstring>
|
|
328
|
+
#include <stdlib.h>
|
|
329
|
+
#include <new>
|
|
330
|
+
#include <type_traits>
|
|
331
|
+
#else
|
|
252
332
|
#include <stdint.h>
|
|
253
333
|
#include <stddef.h>
|
|
254
334
|
#include <stdbool.h>
|
|
335
|
+
#include <string.h>
|
|
336
|
+
#endif
|
|
337
|
+
#if defined(__cplusplus)
|
|
338
|
+
#if __has_include(<ptrauth.h>)
|
|
339
|
+
# include <ptrauth.h>
|
|
340
|
+
#else
|
|
341
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
342
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
343
|
+
# endif
|
|
344
|
+
#endif
|
|
345
|
+
#endif
|
|
255
346
|
|
|
256
347
|
#if !defined(SWIFT_TYPEDEFS)
|
|
257
348
|
# define SWIFT_TYPEDEFS 1
|
|
@@ -286,53 +377,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
286
377
|
# if __has_feature(objc_class_property)
|
|
287
378
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
288
379
|
# else
|
|
289
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
380
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
290
381
|
# endif
|
|
291
382
|
#endif
|
|
292
|
-
|
|
293
|
-
#if __has_attribute(objc_runtime_name)
|
|
294
|
-
#
|
|
295
|
-
#else
|
|
296
|
-
#
|
|
383
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
384
|
+
# if __has_attribute(objc_runtime_name)
|
|
385
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
386
|
+
# else
|
|
387
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
388
|
+
# endif
|
|
297
389
|
#endif
|
|
298
|
-
#if
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
#
|
|
390
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
391
|
+
# if __has_attribute(swift_name)
|
|
392
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
393
|
+
# else
|
|
394
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
395
|
+
# endif
|
|
302
396
|
#endif
|
|
303
|
-
#if
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
#
|
|
397
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
398
|
+
# if __has_attribute(objc_method_family)
|
|
399
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
400
|
+
# else
|
|
401
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
402
|
+
# endif
|
|
307
403
|
#endif
|
|
308
|
-
#if
|
|
309
|
-
#
|
|
310
|
-
#
|
|
311
|
-
#
|
|
404
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
405
|
+
# if __has_attribute(noescape)
|
|
406
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
407
|
+
# else
|
|
408
|
+
# define SWIFT_NOESCAPE
|
|
409
|
+
# endif
|
|
312
410
|
#endif
|
|
313
|
-
#if
|
|
314
|
-
#
|
|
315
|
-
#
|
|
316
|
-
#
|
|
411
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
412
|
+
# if __has_attribute(ns_consumed)
|
|
413
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
414
|
+
# else
|
|
415
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
416
|
+
# endif
|
|
317
417
|
#endif
|
|
318
|
-
#if
|
|
319
|
-
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
418
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
419
|
+
# if __has_attribute(warn_unused_result)
|
|
420
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
421
|
+
# else
|
|
422
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
423
|
+
# endif
|
|
322
424
|
#endif
|
|
323
|
-
#if
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
#
|
|
425
|
+
#if !defined(SWIFT_NORETURN)
|
|
426
|
+
# if __has_attribute(noreturn)
|
|
427
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
428
|
+
# else
|
|
429
|
+
# define SWIFT_NORETURN
|
|
430
|
+
# endif
|
|
327
431
|
#endif
|
|
328
432
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
329
|
-
# define SWIFT_CLASS_EXTRA
|
|
433
|
+
# define SWIFT_CLASS_EXTRA
|
|
330
434
|
#endif
|
|
331
435
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
332
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
436
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
333
437
|
#endif
|
|
334
438
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
335
|
-
# define SWIFT_ENUM_EXTRA
|
|
439
|
+
# define SWIFT_ENUM_EXTRA
|
|
336
440
|
#endif
|
|
337
441
|
#if !defined(SWIFT_CLASS)
|
|
338
442
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -352,28 +456,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
352
456
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
353
457
|
# endif
|
|
354
458
|
#endif
|
|
355
|
-
|
|
356
459
|
#if !defined(SWIFT_PROTOCOL)
|
|
357
460
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
358
461
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
359
462
|
#endif
|
|
360
|
-
|
|
361
463
|
#if !defined(SWIFT_EXTENSION)
|
|
362
464
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
363
465
|
#endif
|
|
364
|
-
|
|
365
466
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
366
467
|
# if __has_attribute(objc_designated_initializer)
|
|
367
468
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
368
469
|
# else
|
|
369
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
470
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
370
471
|
# endif
|
|
371
472
|
#endif
|
|
372
473
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
373
|
-
# if
|
|
474
|
+
# if __has_attribute(enum_extensibility)
|
|
374
475
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
375
476
|
# else
|
|
376
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
477
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
377
478
|
# endif
|
|
378
479
|
#endif
|
|
379
480
|
#if !defined(SWIFT_ENUM)
|
|
@@ -402,13 +503,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
402
503
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
403
504
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
404
505
|
#endif
|
|
405
|
-
#if
|
|
406
|
-
#
|
|
407
|
-
#
|
|
408
|
-
#
|
|
506
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
507
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
508
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
509
|
+
# else
|
|
510
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
511
|
+
# endif
|
|
409
512
|
#endif
|
|
513
|
+
#if defined(__OBJC__)
|
|
410
514
|
#if !defined(IBSegueAction)
|
|
411
|
-
# define IBSegueAction
|
|
515
|
+
# define IBSegueAction
|
|
516
|
+
#endif
|
|
412
517
|
#endif
|
|
413
518
|
#if !defined(SWIFT_EXTERN)
|
|
414
519
|
# if defined(__cplusplus)
|
|
@@ -417,12 +522,40 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
417
522
|
# define SWIFT_EXTERN extern
|
|
418
523
|
# endif
|
|
419
524
|
#endif
|
|
420
|
-
#if
|
|
525
|
+
#if !defined(SWIFT_CALL)
|
|
526
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
527
|
+
#endif
|
|
528
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
529
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
530
|
+
#endif
|
|
531
|
+
#if !defined(SWIFT_CONTEXT)
|
|
532
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
533
|
+
#endif
|
|
534
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
535
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
536
|
+
#endif
|
|
537
|
+
#if defined(__cplusplus)
|
|
538
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
539
|
+
#else
|
|
540
|
+
# define SWIFT_NOEXCEPT
|
|
541
|
+
#endif
|
|
542
|
+
#if defined(_WIN32)
|
|
543
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
544
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
545
|
+
#endif
|
|
546
|
+
#else
|
|
547
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
548
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
549
|
+
#endif
|
|
550
|
+
#endif
|
|
551
|
+
#if defined(__OBJC__)
|
|
552
|
+
#if __has_feature(objc_modules)
|
|
421
553
|
#if __has_warning("-Watimport-in-framework-header")
|
|
422
554
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
423
555
|
#endif
|
|
424
556
|
#endif
|
|
425
557
|
|
|
558
|
+
#endif
|
|
426
559
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
427
560
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
428
561
|
#if __has_warning("-Wpragma-clang-attribute")
|
|
@@ -430,6 +563,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
430
563
|
#endif
|
|
431
564
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
432
565
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
566
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
433
567
|
|
|
434
568
|
#if __has_attribute(external_source_symbol)
|
|
435
569
|
# pragma push_macro("any")
|
|
@@ -438,13 +572,19 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
438
572
|
# pragma pop_macro("any")
|
|
439
573
|
#endif
|
|
440
574
|
|
|
575
|
+
#if defined(__OBJC__)
|
|
441
576
|
|
|
442
|
-
SWIFT_EXTERN void
|
|
577
|
+
SWIFT_EXTERN void __vOXbpNRhpnChjnGnjZhWdRZ(void);
|
|
443
578
|
|
|
579
|
+
#endif
|
|
580
|
+
#if defined(__cplusplus)
|
|
581
|
+
#endif
|
|
444
582
|
#if __has_attribute(external_source_symbol)
|
|
445
583
|
# pragma clang attribute pop
|
|
446
584
|
#endif
|
|
447
585
|
#pragma clang diagnostic pop
|
|
448
586
|
#endif
|
|
449
587
|
|
|
588
|
+
#else
|
|
589
|
+
#error unsupported Swift architecture
|
|
450
590
|
#endif
|