@syntropika/tembra-react-native 0.0.0-stage → 0.1.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/LICENSE +202 -0
- package/README.md +8 -2
- package/Tembra.podspec +21 -0
- package/android/build.gradle +47 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/tembra/TembraModule.kt +52 -0
- package/android/src/main/java/com/tembra/TembraPackage.kt +26 -0
- package/ios/RCTTembra.h +10 -0
- package/ios/RCTTembra.mm +58 -0
- package/ios/Tembra.swift +55 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0-sources.jar +0 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0-sources.jar.md5 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0-sources.jar.sha1 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0-sources.jar.sha256 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0-sources.jar.sha512 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.aar +0 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.aar.md5 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.aar.sha1 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.aar.sha256 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.aar.sha512 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.module +116 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.module.md5 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.module.sha1 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.module.sha256 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.module.sha512 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.pom +35 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.pom.md5 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.pom.sha1 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.pom.sha256 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/0.1.0/tembra-kotlin-0.1.0.pom.sha512 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/maven-metadata.xml +13 -0
- package/native/maven/dev/tembra/tembra-kotlin/maven-metadata.xml.md5 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/maven-metadata.xml.sha1 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/maven-metadata.xml.sha256 +1 -0
- package/native/maven/dev/tembra/tembra-kotlin/maven-metadata.xml.sha512 +1 -0
- package/native/swift/Sources/TembraNative/Generated/TembraNative.swift +780 -0
- package/native/swift/Sources/TembraNative/TembraKernel.swift +24 -0
- package/native/swift/TembraFFI.xcframework/Info.plist +65 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64/Headers/TembraFFI.h +556 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64/Headers/module.modulemap +7 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64/libtembra_mobile.a +0 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64_x86_64-simulator/Headers/TembraFFI.h +556 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64_x86_64-simulator/Headers/module.modulemap +7 -0
- package/native/swift/TembraFFI.xcframework/ios-arm64_x86_64-simulator/libtembra_mobile.a +4 -0
- package/native/swift/TembraFFI.xcframework/macos-arm64_x86_64/Headers/TembraFFI.h +556 -0
- package/native/swift/TembraFFI.xcframework/macos-arm64_x86_64/Headers/module.modulemap +7 -0
- package/native/swift/TembraFFI.xcframework/macos-arm64_x86_64/libtembra_mobile.a +4 -0
- package/package.json +49 -4
- package/react-native.config.js +12 -0
- package/src/NativeTembra.ts +13 -0
- package/src/index.ts +22 -0
- package/src/kernel.ts +25 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
/** Exchange metadata with one Rust kernel without a React Native runtime. */
|
|
4
|
+
public final class TembraKernel: @unchecked Sendable {
|
|
5
|
+
private let kernel: NativeKernel
|
|
6
|
+
|
|
7
|
+
/** Create an isolated kernel on its owning worker thread. */
|
|
8
|
+
public init() throws {
|
|
9
|
+
kernel = try NativeKernel()
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Execute one metadata command and preserve its result envelope. */
|
|
13
|
+
public func request(_ metadata: String) throws -> String {
|
|
14
|
+
try kernel.request(metadata: metadata)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Stop the worker after the application has completed lifecycle cleanup. */
|
|
18
|
+
public func close() {
|
|
19
|
+
kernel.shutdown()
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Stop the worker when its Swift owner is released. */
|
|
23
|
+
deinit { close() }
|
|
24
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>AvailableLibraries</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>BinaryPath</key>
|
|
9
|
+
<string>libtembra_mobile.a</string>
|
|
10
|
+
<key>HeadersPath</key>
|
|
11
|
+
<string>Headers</string>
|
|
12
|
+
<key>LibraryIdentifier</key>
|
|
13
|
+
<string>ios-arm64</string>
|
|
14
|
+
<key>LibraryPath</key>
|
|
15
|
+
<string>libtembra_mobile.a</string>
|
|
16
|
+
<key>SupportedArchitectures</key>
|
|
17
|
+
<array>
|
|
18
|
+
<string>arm64</string>
|
|
19
|
+
</array>
|
|
20
|
+
<key>SupportedPlatform</key>
|
|
21
|
+
<string>ios</string>
|
|
22
|
+
</dict>
|
|
23
|
+
<dict>
|
|
24
|
+
<key>BinaryPath</key>
|
|
25
|
+
<string>libtembra_mobile.a</string>
|
|
26
|
+
<key>HeadersPath</key>
|
|
27
|
+
<string>Headers</string>
|
|
28
|
+
<key>LibraryIdentifier</key>
|
|
29
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
30
|
+
<key>LibraryPath</key>
|
|
31
|
+
<string>libtembra_mobile.a</string>
|
|
32
|
+
<key>SupportedArchitectures</key>
|
|
33
|
+
<array>
|
|
34
|
+
<string>arm64</string>
|
|
35
|
+
<string>x86_64</string>
|
|
36
|
+
</array>
|
|
37
|
+
<key>SupportedPlatform</key>
|
|
38
|
+
<string>ios</string>
|
|
39
|
+
<key>SupportedPlatformVariant</key>
|
|
40
|
+
<string>simulator</string>
|
|
41
|
+
</dict>
|
|
42
|
+
<dict>
|
|
43
|
+
<key>BinaryPath</key>
|
|
44
|
+
<string>libtembra_mobile.a</string>
|
|
45
|
+
<key>HeadersPath</key>
|
|
46
|
+
<string>Headers</string>
|
|
47
|
+
<key>LibraryIdentifier</key>
|
|
48
|
+
<string>macos-arm64_x86_64</string>
|
|
49
|
+
<key>LibraryPath</key>
|
|
50
|
+
<string>libtembra_mobile.a</string>
|
|
51
|
+
<key>SupportedArchitectures</key>
|
|
52
|
+
<array>
|
|
53
|
+
<string>arm64</string>
|
|
54
|
+
<string>x86_64</string>
|
|
55
|
+
</array>
|
|
56
|
+
<key>SupportedPlatform</key>
|
|
57
|
+
<string>macos</string>
|
|
58
|
+
</dict>
|
|
59
|
+
</array>
|
|
60
|
+
<key>CFBundlePackageType</key>
|
|
61
|
+
<string>XFWK</string>
|
|
62
|
+
<key>XCFrameworkFormatVersion</key>
|
|
63
|
+
<string>1.0</string>
|
|
64
|
+
</dict>
|
|
65
|
+
</plist>
|
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
// This file was autogenerated by some hot garbage in the `uniffi` crate.
|
|
2
|
+
// Trust me, you don't want to mess with it!
|
|
3
|
+
|
|
4
|
+
#pragma once
|
|
5
|
+
|
|
6
|
+
#include <stdbool.h>
|
|
7
|
+
#include <stddef.h>
|
|
8
|
+
#include <stdint.h>
|
|
9
|
+
|
|
10
|
+
// The following structs are used to implement the lowest level
|
|
11
|
+
// of the FFI, and thus useful to multiple uniffied crates.
|
|
12
|
+
// We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H.
|
|
13
|
+
#ifdef UNIFFI_SHARED_H
|
|
14
|
+
// We also try to prevent mixing versions of shared uniffi header structs.
|
|
15
|
+
// If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4
|
|
16
|
+
#ifndef UNIFFI_SHARED_HEADER_V4
|
|
17
|
+
#error Combining helper code from multiple versions of uniffi is not supported
|
|
18
|
+
#endif // ndef UNIFFI_SHARED_HEADER_V4
|
|
19
|
+
#else
|
|
20
|
+
#define UNIFFI_SHARED_H
|
|
21
|
+
#define UNIFFI_SHARED_HEADER_V4
|
|
22
|
+
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
|
|
23
|
+
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
|
|
24
|
+
|
|
25
|
+
typedef struct RustBuffer
|
|
26
|
+
{
|
|
27
|
+
uint64_t capacity;
|
|
28
|
+
uint64_t len;
|
|
29
|
+
uint8_t *_Nullable data;
|
|
30
|
+
} RustBuffer;
|
|
31
|
+
|
|
32
|
+
typedef struct ForeignBytes
|
|
33
|
+
{
|
|
34
|
+
int32_t len;
|
|
35
|
+
const uint8_t *_Nullable data;
|
|
36
|
+
} ForeignBytes;
|
|
37
|
+
|
|
38
|
+
// Error definitions
|
|
39
|
+
typedef struct RustCallStatus {
|
|
40
|
+
int8_t code;
|
|
41
|
+
RustBuffer errorBuf;
|
|
42
|
+
} RustCallStatus;
|
|
43
|
+
|
|
44
|
+
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
|
|
45
|
+
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
|
|
46
|
+
#endif // def UNIFFI_SHARED_H
|
|
47
|
+
#ifndef UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
|
|
48
|
+
#define UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
|
|
49
|
+
typedef void (*UniffiRustFutureContinuationCallback)(uint64_t, int8_t
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
#endif
|
|
53
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
|
|
54
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK
|
|
55
|
+
typedef void (*UniffiForeignFutureDroppedCallback)(uint64_t
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
#endif
|
|
59
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
|
|
60
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
|
|
61
|
+
typedef void (*UniffiCallbackInterfaceFree)(uint64_t
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
#endif
|
|
65
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
|
|
66
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_CLONE
|
|
67
|
+
typedef uint64_t (*UniffiCallbackInterfaceClone)(uint64_t
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
#endif
|
|
71
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
|
|
72
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_DROPPED_CALLBACK_STRUCT
|
|
73
|
+
typedef struct UniffiForeignFutureDroppedCallbackStruct {
|
|
74
|
+
uint64_t handle;
|
|
75
|
+
UniffiForeignFutureDroppedCallback _Nonnull free;
|
|
76
|
+
} UniffiForeignFutureDroppedCallbackStruct;
|
|
77
|
+
|
|
78
|
+
#endif
|
|
79
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
|
|
80
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U8
|
|
81
|
+
typedef struct UniffiForeignFutureResultU8 {
|
|
82
|
+
uint8_t returnValue;
|
|
83
|
+
RustCallStatus callStatus;
|
|
84
|
+
} UniffiForeignFutureResultU8;
|
|
85
|
+
|
|
86
|
+
#endif
|
|
87
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
|
|
88
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
|
|
89
|
+
typedef void (*UniffiForeignFutureCompleteU8)(uint64_t, UniffiForeignFutureResultU8
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
#endif
|
|
93
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
|
|
94
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I8
|
|
95
|
+
typedef struct UniffiForeignFutureResultI8 {
|
|
96
|
+
int8_t returnValue;
|
|
97
|
+
RustCallStatus callStatus;
|
|
98
|
+
} UniffiForeignFutureResultI8;
|
|
99
|
+
|
|
100
|
+
#endif
|
|
101
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
|
|
102
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
|
|
103
|
+
typedef void (*UniffiForeignFutureCompleteI8)(uint64_t, UniffiForeignFutureResultI8
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
#endif
|
|
107
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
|
|
108
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U16
|
|
109
|
+
typedef struct UniffiForeignFutureResultU16 {
|
|
110
|
+
uint16_t returnValue;
|
|
111
|
+
RustCallStatus callStatus;
|
|
112
|
+
} UniffiForeignFutureResultU16;
|
|
113
|
+
|
|
114
|
+
#endif
|
|
115
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
|
|
116
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
|
|
117
|
+
typedef void (*UniffiForeignFutureCompleteU16)(uint64_t, UniffiForeignFutureResultU16
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
#endif
|
|
121
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
|
|
122
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I16
|
|
123
|
+
typedef struct UniffiForeignFutureResultI16 {
|
|
124
|
+
int16_t returnValue;
|
|
125
|
+
RustCallStatus callStatus;
|
|
126
|
+
} UniffiForeignFutureResultI16;
|
|
127
|
+
|
|
128
|
+
#endif
|
|
129
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
|
|
130
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
|
|
131
|
+
typedef void (*UniffiForeignFutureCompleteI16)(uint64_t, UniffiForeignFutureResultI16
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
#endif
|
|
135
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
|
|
136
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U32
|
|
137
|
+
typedef struct UniffiForeignFutureResultU32 {
|
|
138
|
+
uint32_t returnValue;
|
|
139
|
+
RustCallStatus callStatus;
|
|
140
|
+
} UniffiForeignFutureResultU32;
|
|
141
|
+
|
|
142
|
+
#endif
|
|
143
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
|
|
144
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
|
|
145
|
+
typedef void (*UniffiForeignFutureCompleteU32)(uint64_t, UniffiForeignFutureResultU32
|
|
146
|
+
);
|
|
147
|
+
|
|
148
|
+
#endif
|
|
149
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
|
|
150
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I32
|
|
151
|
+
typedef struct UniffiForeignFutureResultI32 {
|
|
152
|
+
int32_t returnValue;
|
|
153
|
+
RustCallStatus callStatus;
|
|
154
|
+
} UniffiForeignFutureResultI32;
|
|
155
|
+
|
|
156
|
+
#endif
|
|
157
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
|
|
158
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
|
|
159
|
+
typedef void (*UniffiForeignFutureCompleteI32)(uint64_t, UniffiForeignFutureResultI32
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
#endif
|
|
163
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
|
|
164
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_U64
|
|
165
|
+
typedef struct UniffiForeignFutureResultU64 {
|
|
166
|
+
uint64_t returnValue;
|
|
167
|
+
RustCallStatus callStatus;
|
|
168
|
+
} UniffiForeignFutureResultU64;
|
|
169
|
+
|
|
170
|
+
#endif
|
|
171
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
|
|
172
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
|
|
173
|
+
typedef void (*UniffiForeignFutureCompleteU64)(uint64_t, UniffiForeignFutureResultU64
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
#endif
|
|
177
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
|
|
178
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_I64
|
|
179
|
+
typedef struct UniffiForeignFutureResultI64 {
|
|
180
|
+
int64_t returnValue;
|
|
181
|
+
RustCallStatus callStatus;
|
|
182
|
+
} UniffiForeignFutureResultI64;
|
|
183
|
+
|
|
184
|
+
#endif
|
|
185
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
|
|
186
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
|
|
187
|
+
typedef void (*UniffiForeignFutureCompleteI64)(uint64_t, UniffiForeignFutureResultI64
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
#endif
|
|
191
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
|
|
192
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F32
|
|
193
|
+
typedef struct UniffiForeignFutureResultF32 {
|
|
194
|
+
float returnValue;
|
|
195
|
+
RustCallStatus callStatus;
|
|
196
|
+
} UniffiForeignFutureResultF32;
|
|
197
|
+
|
|
198
|
+
#endif
|
|
199
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
|
|
200
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
|
|
201
|
+
typedef void (*UniffiForeignFutureCompleteF32)(uint64_t, UniffiForeignFutureResultF32
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
#endif
|
|
205
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
|
|
206
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_F64
|
|
207
|
+
typedef struct UniffiForeignFutureResultF64 {
|
|
208
|
+
double returnValue;
|
|
209
|
+
RustCallStatus callStatus;
|
|
210
|
+
} UniffiForeignFutureResultF64;
|
|
211
|
+
|
|
212
|
+
#endif
|
|
213
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
|
|
214
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
|
|
215
|
+
typedef void (*UniffiForeignFutureCompleteF64)(uint64_t, UniffiForeignFutureResultF64
|
|
216
|
+
);
|
|
217
|
+
|
|
218
|
+
#endif
|
|
219
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
|
|
220
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_RUST_BUFFER
|
|
221
|
+
typedef struct UniffiForeignFutureResultRustBuffer {
|
|
222
|
+
RustBuffer returnValue;
|
|
223
|
+
RustCallStatus callStatus;
|
|
224
|
+
} UniffiForeignFutureResultRustBuffer;
|
|
225
|
+
|
|
226
|
+
#endif
|
|
227
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
|
|
228
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
|
|
229
|
+
typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t, UniffiForeignFutureResultRustBuffer
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
#endif
|
|
233
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
|
|
234
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_RESULT_VOID
|
|
235
|
+
typedef struct UniffiForeignFutureResultVoid {
|
|
236
|
+
RustCallStatus callStatus;
|
|
237
|
+
} UniffiForeignFutureResultVoid;
|
|
238
|
+
|
|
239
|
+
#endif
|
|
240
|
+
#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
|
|
241
|
+
#define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
|
|
242
|
+
typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureResultVoid
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
#endif
|
|
246
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_CLONE_NATIVEKERNEL
|
|
247
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_CLONE_NATIVEKERNEL
|
|
248
|
+
uint64_t uniffi_tembra_mobile_fn_clone_nativekernel(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
249
|
+
);
|
|
250
|
+
#endif
|
|
251
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_FREE_NATIVEKERNEL
|
|
252
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_FREE_NATIVEKERNEL
|
|
253
|
+
void uniffi_tembra_mobile_fn_free_nativekernel(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
254
|
+
);
|
|
255
|
+
#endif
|
|
256
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_CONSTRUCTOR_NATIVEKERNEL_NEW
|
|
257
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_CONSTRUCTOR_NATIVEKERNEL_NEW
|
|
258
|
+
uint64_t uniffi_tembra_mobile_fn_constructor_nativekernel_new(RustCallStatus *_Nonnull out_status
|
|
259
|
+
|
|
260
|
+
);
|
|
261
|
+
#endif
|
|
262
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_METHOD_NATIVEKERNEL_REQUEST
|
|
263
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_METHOD_NATIVEKERNEL_REQUEST
|
|
264
|
+
RustBuffer uniffi_tembra_mobile_fn_method_nativekernel_request(uint64_t ptr, RustBuffer metadata, RustCallStatus *_Nonnull out_status
|
|
265
|
+
);
|
|
266
|
+
#endif
|
|
267
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_METHOD_NATIVEKERNEL_SHUTDOWN
|
|
268
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_FN_METHOD_NATIVEKERNEL_SHUTDOWN
|
|
269
|
+
void uniffi_tembra_mobile_fn_method_nativekernel_shutdown(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
270
|
+
);
|
|
271
|
+
#endif
|
|
272
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_ALLOC
|
|
273
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_ALLOC
|
|
274
|
+
RustBuffer ffi_tembra_mobile_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
|
|
275
|
+
);
|
|
276
|
+
#endif
|
|
277
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_FROM_BYTES
|
|
278
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_FROM_BYTES
|
|
279
|
+
RustBuffer ffi_tembra_mobile_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
|
|
280
|
+
);
|
|
281
|
+
#endif
|
|
282
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_FREE
|
|
283
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_FREE
|
|
284
|
+
void ffi_tembra_mobile_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
|
|
285
|
+
);
|
|
286
|
+
#endif
|
|
287
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_RESERVE
|
|
288
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUSTBUFFER_RESERVE
|
|
289
|
+
RustBuffer ffi_tembra_mobile_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
|
|
290
|
+
);
|
|
291
|
+
#endif
|
|
292
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U8
|
|
293
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U8
|
|
294
|
+
void ffi_tembra_mobile_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
295
|
+
);
|
|
296
|
+
#endif
|
|
297
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U8
|
|
298
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U8
|
|
299
|
+
void ffi_tembra_mobile_rust_future_cancel_u8(uint64_t handle
|
|
300
|
+
);
|
|
301
|
+
#endif
|
|
302
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U8
|
|
303
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U8
|
|
304
|
+
void ffi_tembra_mobile_rust_future_free_u8(uint64_t handle
|
|
305
|
+
);
|
|
306
|
+
#endif
|
|
307
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U8
|
|
308
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U8
|
|
309
|
+
uint8_t ffi_tembra_mobile_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
310
|
+
);
|
|
311
|
+
#endif
|
|
312
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I8
|
|
313
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I8
|
|
314
|
+
void ffi_tembra_mobile_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
315
|
+
);
|
|
316
|
+
#endif
|
|
317
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I8
|
|
318
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I8
|
|
319
|
+
void ffi_tembra_mobile_rust_future_cancel_i8(uint64_t handle
|
|
320
|
+
);
|
|
321
|
+
#endif
|
|
322
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I8
|
|
323
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I8
|
|
324
|
+
void ffi_tembra_mobile_rust_future_free_i8(uint64_t handle
|
|
325
|
+
);
|
|
326
|
+
#endif
|
|
327
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I8
|
|
328
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I8
|
|
329
|
+
int8_t ffi_tembra_mobile_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
330
|
+
);
|
|
331
|
+
#endif
|
|
332
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U16
|
|
333
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U16
|
|
334
|
+
void ffi_tembra_mobile_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
335
|
+
);
|
|
336
|
+
#endif
|
|
337
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U16
|
|
338
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U16
|
|
339
|
+
void ffi_tembra_mobile_rust_future_cancel_u16(uint64_t handle
|
|
340
|
+
);
|
|
341
|
+
#endif
|
|
342
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U16
|
|
343
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U16
|
|
344
|
+
void ffi_tembra_mobile_rust_future_free_u16(uint64_t handle
|
|
345
|
+
);
|
|
346
|
+
#endif
|
|
347
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U16
|
|
348
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U16
|
|
349
|
+
uint16_t ffi_tembra_mobile_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
350
|
+
);
|
|
351
|
+
#endif
|
|
352
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I16
|
|
353
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I16
|
|
354
|
+
void ffi_tembra_mobile_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
355
|
+
);
|
|
356
|
+
#endif
|
|
357
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I16
|
|
358
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I16
|
|
359
|
+
void ffi_tembra_mobile_rust_future_cancel_i16(uint64_t handle
|
|
360
|
+
);
|
|
361
|
+
#endif
|
|
362
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I16
|
|
363
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I16
|
|
364
|
+
void ffi_tembra_mobile_rust_future_free_i16(uint64_t handle
|
|
365
|
+
);
|
|
366
|
+
#endif
|
|
367
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I16
|
|
368
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I16
|
|
369
|
+
int16_t ffi_tembra_mobile_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
370
|
+
);
|
|
371
|
+
#endif
|
|
372
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U32
|
|
373
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U32
|
|
374
|
+
void ffi_tembra_mobile_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
375
|
+
);
|
|
376
|
+
#endif
|
|
377
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U32
|
|
378
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U32
|
|
379
|
+
void ffi_tembra_mobile_rust_future_cancel_u32(uint64_t handle
|
|
380
|
+
);
|
|
381
|
+
#endif
|
|
382
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U32
|
|
383
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U32
|
|
384
|
+
void ffi_tembra_mobile_rust_future_free_u32(uint64_t handle
|
|
385
|
+
);
|
|
386
|
+
#endif
|
|
387
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U32
|
|
388
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U32
|
|
389
|
+
uint32_t ffi_tembra_mobile_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
390
|
+
);
|
|
391
|
+
#endif
|
|
392
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I32
|
|
393
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I32
|
|
394
|
+
void ffi_tembra_mobile_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
395
|
+
);
|
|
396
|
+
#endif
|
|
397
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I32
|
|
398
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I32
|
|
399
|
+
void ffi_tembra_mobile_rust_future_cancel_i32(uint64_t handle
|
|
400
|
+
);
|
|
401
|
+
#endif
|
|
402
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I32
|
|
403
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I32
|
|
404
|
+
void ffi_tembra_mobile_rust_future_free_i32(uint64_t handle
|
|
405
|
+
);
|
|
406
|
+
#endif
|
|
407
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I32
|
|
408
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I32
|
|
409
|
+
int32_t ffi_tembra_mobile_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
410
|
+
);
|
|
411
|
+
#endif
|
|
412
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U64
|
|
413
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_U64
|
|
414
|
+
void ffi_tembra_mobile_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
415
|
+
);
|
|
416
|
+
#endif
|
|
417
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U64
|
|
418
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_U64
|
|
419
|
+
void ffi_tembra_mobile_rust_future_cancel_u64(uint64_t handle
|
|
420
|
+
);
|
|
421
|
+
#endif
|
|
422
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U64
|
|
423
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_U64
|
|
424
|
+
void ffi_tembra_mobile_rust_future_free_u64(uint64_t handle
|
|
425
|
+
);
|
|
426
|
+
#endif
|
|
427
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U64
|
|
428
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_U64
|
|
429
|
+
uint64_t ffi_tembra_mobile_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
430
|
+
);
|
|
431
|
+
#endif
|
|
432
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I64
|
|
433
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_I64
|
|
434
|
+
void ffi_tembra_mobile_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
435
|
+
);
|
|
436
|
+
#endif
|
|
437
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I64
|
|
438
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_I64
|
|
439
|
+
void ffi_tembra_mobile_rust_future_cancel_i64(uint64_t handle
|
|
440
|
+
);
|
|
441
|
+
#endif
|
|
442
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I64
|
|
443
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_I64
|
|
444
|
+
void ffi_tembra_mobile_rust_future_free_i64(uint64_t handle
|
|
445
|
+
);
|
|
446
|
+
#endif
|
|
447
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I64
|
|
448
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_I64
|
|
449
|
+
int64_t ffi_tembra_mobile_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
450
|
+
);
|
|
451
|
+
#endif
|
|
452
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_F32
|
|
453
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_F32
|
|
454
|
+
void ffi_tembra_mobile_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
455
|
+
);
|
|
456
|
+
#endif
|
|
457
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_F32
|
|
458
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_F32
|
|
459
|
+
void ffi_tembra_mobile_rust_future_cancel_f32(uint64_t handle
|
|
460
|
+
);
|
|
461
|
+
#endif
|
|
462
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_F32
|
|
463
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_F32
|
|
464
|
+
void ffi_tembra_mobile_rust_future_free_f32(uint64_t handle
|
|
465
|
+
);
|
|
466
|
+
#endif
|
|
467
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_F32
|
|
468
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_F32
|
|
469
|
+
float ffi_tembra_mobile_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
470
|
+
);
|
|
471
|
+
#endif
|
|
472
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_F64
|
|
473
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_F64
|
|
474
|
+
void ffi_tembra_mobile_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
475
|
+
);
|
|
476
|
+
#endif
|
|
477
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_F64
|
|
478
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_F64
|
|
479
|
+
void ffi_tembra_mobile_rust_future_cancel_f64(uint64_t handle
|
|
480
|
+
);
|
|
481
|
+
#endif
|
|
482
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_F64
|
|
483
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_F64
|
|
484
|
+
void ffi_tembra_mobile_rust_future_free_f64(uint64_t handle
|
|
485
|
+
);
|
|
486
|
+
#endif
|
|
487
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_F64
|
|
488
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_F64
|
|
489
|
+
double ffi_tembra_mobile_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
490
|
+
);
|
|
491
|
+
#endif
|
|
492
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_RUST_BUFFER
|
|
493
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_RUST_BUFFER
|
|
494
|
+
void ffi_tembra_mobile_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
495
|
+
);
|
|
496
|
+
#endif
|
|
497
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
498
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_RUST_BUFFER
|
|
499
|
+
void ffi_tembra_mobile_rust_future_cancel_rust_buffer(uint64_t handle
|
|
500
|
+
);
|
|
501
|
+
#endif
|
|
502
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_RUST_BUFFER
|
|
503
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_RUST_BUFFER
|
|
504
|
+
void ffi_tembra_mobile_rust_future_free_rust_buffer(uint64_t handle
|
|
505
|
+
);
|
|
506
|
+
#endif
|
|
507
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
508
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_RUST_BUFFER
|
|
509
|
+
RustBuffer ffi_tembra_mobile_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
510
|
+
);
|
|
511
|
+
#endif
|
|
512
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_VOID
|
|
513
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_POLL_VOID
|
|
514
|
+
void ffi_tembra_mobile_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
|
|
515
|
+
);
|
|
516
|
+
#endif
|
|
517
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_VOID
|
|
518
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_CANCEL_VOID
|
|
519
|
+
void ffi_tembra_mobile_rust_future_cancel_void(uint64_t handle
|
|
520
|
+
);
|
|
521
|
+
#endif
|
|
522
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_VOID
|
|
523
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_FREE_VOID
|
|
524
|
+
void ffi_tembra_mobile_rust_future_free_void(uint64_t handle
|
|
525
|
+
);
|
|
526
|
+
#endif
|
|
527
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_VOID
|
|
528
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_RUST_FUTURE_COMPLETE_VOID
|
|
529
|
+
void ffi_tembra_mobile_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
|
|
530
|
+
);
|
|
531
|
+
#endif
|
|
532
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_METHOD_NATIVEKERNEL_REQUEST
|
|
533
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_METHOD_NATIVEKERNEL_REQUEST
|
|
534
|
+
uint16_t uniffi_tembra_mobile_checksum_method_nativekernel_request(void
|
|
535
|
+
|
|
536
|
+
);
|
|
537
|
+
#endif
|
|
538
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_METHOD_NATIVEKERNEL_SHUTDOWN
|
|
539
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_METHOD_NATIVEKERNEL_SHUTDOWN
|
|
540
|
+
uint16_t uniffi_tembra_mobile_checksum_method_nativekernel_shutdown(void
|
|
541
|
+
|
|
542
|
+
);
|
|
543
|
+
#endif
|
|
544
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_CONSTRUCTOR_NATIVEKERNEL_NEW
|
|
545
|
+
#define UNIFFI_FFIDEF_UNIFFI_TEMBRA_MOBILE_CHECKSUM_CONSTRUCTOR_NATIVEKERNEL_NEW
|
|
546
|
+
uint16_t uniffi_tembra_mobile_checksum_constructor_nativekernel_new(void
|
|
547
|
+
|
|
548
|
+
);
|
|
549
|
+
#endif
|
|
550
|
+
#ifndef UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_UNIFFI_CONTRACT_VERSION
|
|
551
|
+
#define UNIFFI_FFIDEF_FFI_TEMBRA_MOBILE_UNIFFI_CONTRACT_VERSION
|
|
552
|
+
uint32_t ffi_tembra_mobile_uniffi_contract_version(void
|
|
553
|
+
|
|
554
|
+
);
|
|
555
|
+
#endif
|
|
556
|
+
|
|
Binary file
|