@baerae/zkap-zkp-react-native 0.1.3 → 0.1.5

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.
Files changed (36) hide show
  1. package/README.md +24 -3
  2. package/ZkapReactNative.podspec +42 -0
  3. package/android/CMakeLists.txt +81 -0
  4. package/android/build.gradle +111 -14
  5. package/android/cpp-adapter.cpp +43 -0
  6. package/android/libs/arm64-v8a/libzkap_uniffi_bindings.so +0 -0
  7. package/android/libs/x86_64/libzkap_uniffi_bindings.so +0 -0
  8. package/android/proguard-rules.pro +2 -0
  9. package/android/src/main/AndroidManifest.xml +5 -0
  10. package/android/src/main/java/com/baerae/zkapreactnative/ZkapReactNativeModule.kt +51 -0
  11. package/android/src/main/java/com/baerae/zkapreactnative/ZkapReactNativePackage.kt +34 -0
  12. package/cpp/baerae-zkap-react-native.cpp +17 -0
  13. package/cpp/baerae-zkap-react-native.h +15 -0
  14. package/cpp/generated/zkap_uniffi_bindings.cpp +2154 -0
  15. package/cpp/generated/zkap_uniffi_bindings.hpp +66 -0
  16. package/ios/ZkapReactNative.h +16 -0
  17. package/ios/ZkapReactNative.mm +412 -0
  18. package/ios/ZkapZkp.xcframework/Info.plist +5 -5
  19. package/ios/ZkapZkp.xcframework/ios-arm64/libzkap_uniffi_bindings.a +0 -0
  20. package/ios/ZkapZkp.xcframework/ios-arm64_x86_64-simulator/libzkap_uniffi_bindings.a +0 -0
  21. package/package.json +37 -16
  22. package/src/NativeZkapReactNative.ts +11 -0
  23. package/src/generated/zkap_uniffi_bindings-ffi.ts +150 -0
  24. package/src/generated/zkap_uniffi_bindings.ts +1015 -0
  25. package/src/index.ts +250 -47
  26. package/ubrn.config.yaml +13 -0
  27. package/android/libs/armeabi-v7a/libzkap_uniffi_bindings.so +0 -0
  28. package/android/src/main/java/expo/modules/zkap/ZkapSdkModule.kt +0 -153
  29. package/android/src/main/java/uniffi/zkap_uniffi_bindings/zkap_uniffi_bindings.kt +0 -1566
  30. package/expo-module.config.json +0 -9
  31. package/ios/ZkapSdkModule.podspec +0 -35
  32. package/ios/ZkapSdkModule.swift +0 -147
  33. package/ios/uniffi/zkap_uniffi_bindings.swift +0 -1174
  34. package/ios/uniffi/zkap_uniffi_bindingsFFI.h +0 -567
  35. package/ios/uniffi/zkap_uniffi_bindingsFFI.modulemap +0 -7
  36. package/src/artifact-manager.ts +0 -231
@@ -1,567 +0,0 @@
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_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_ANCHOR
247
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_ANCHOR
248
- RustBuffer uniffi_zkap_uniffi_bindings_fn_func_generate_anchor(RustBuffer config, RustBuffer secrets, RustCallStatus *_Nonnull out_status
249
- );
250
- #endif
251
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_AUD_HASH
252
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_AUD_HASH
253
- RustBuffer uniffi_zkap_uniffi_bindings_fn_func_generate_aud_hash(RustBuffer config, RustBuffer aud_list, RustCallStatus *_Nonnull out_status
254
- );
255
- #endif
256
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_HASH
257
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_HASH
258
- RustBuffer uniffi_zkap_uniffi_bindings_fn_func_generate_hash(RustBuffer messages, RustCallStatus *_Nonnull out_status
259
- );
260
- #endif
261
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_LEAF_HASH
262
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_GENERATE_LEAF_HASH
263
- RustBuffer uniffi_zkap_uniffi_bindings_fn_func_generate_leaf_hash(RustBuffer config, RustBuffer iss, RustBuffer pk_b64, RustCallStatus *_Nonnull out_status
264
- );
265
- #endif
266
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_PROVE
267
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_FN_FUNC_PROVE
268
- RustBuffer uniffi_zkap_uniffi_bindings_fn_func_prove(RustBuffer config, RustBuffer request, RustCallStatus *_Nonnull out_status
269
- );
270
- #endif
271
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_ALLOC
272
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_ALLOC
273
- RustBuffer ffi_zkap_uniffi_bindings_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
274
- );
275
- #endif
276
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_FROM_BYTES
277
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_FROM_BYTES
278
- RustBuffer ffi_zkap_uniffi_bindings_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
279
- );
280
- #endif
281
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_FREE
282
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_FREE
283
- void ffi_zkap_uniffi_bindings_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
284
- );
285
- #endif
286
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_RESERVE
287
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUSTBUFFER_RESERVE
288
- RustBuffer ffi_zkap_uniffi_bindings_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
289
- );
290
- #endif
291
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U8
292
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U8
293
- void ffi_zkap_uniffi_bindings_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
294
- );
295
- #endif
296
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U8
297
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U8
298
- void ffi_zkap_uniffi_bindings_rust_future_cancel_u8(uint64_t handle
299
- );
300
- #endif
301
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U8
302
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U8
303
- void ffi_zkap_uniffi_bindings_rust_future_free_u8(uint64_t handle
304
- );
305
- #endif
306
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U8
307
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U8
308
- uint8_t ffi_zkap_uniffi_bindings_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
309
- );
310
- #endif
311
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I8
312
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I8
313
- void ffi_zkap_uniffi_bindings_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
314
- );
315
- #endif
316
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I8
317
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I8
318
- void ffi_zkap_uniffi_bindings_rust_future_cancel_i8(uint64_t handle
319
- );
320
- #endif
321
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I8
322
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I8
323
- void ffi_zkap_uniffi_bindings_rust_future_free_i8(uint64_t handle
324
- );
325
- #endif
326
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I8
327
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I8
328
- int8_t ffi_zkap_uniffi_bindings_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
329
- );
330
- #endif
331
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U16
332
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U16
333
- void ffi_zkap_uniffi_bindings_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
334
- );
335
- #endif
336
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U16
337
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U16
338
- void ffi_zkap_uniffi_bindings_rust_future_cancel_u16(uint64_t handle
339
- );
340
- #endif
341
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U16
342
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U16
343
- void ffi_zkap_uniffi_bindings_rust_future_free_u16(uint64_t handle
344
- );
345
- #endif
346
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U16
347
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U16
348
- uint16_t ffi_zkap_uniffi_bindings_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
349
- );
350
- #endif
351
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I16
352
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I16
353
- void ffi_zkap_uniffi_bindings_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
354
- );
355
- #endif
356
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I16
357
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I16
358
- void ffi_zkap_uniffi_bindings_rust_future_cancel_i16(uint64_t handle
359
- );
360
- #endif
361
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I16
362
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I16
363
- void ffi_zkap_uniffi_bindings_rust_future_free_i16(uint64_t handle
364
- );
365
- #endif
366
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I16
367
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I16
368
- int16_t ffi_zkap_uniffi_bindings_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
369
- );
370
- #endif
371
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U32
372
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U32
373
- void ffi_zkap_uniffi_bindings_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
374
- );
375
- #endif
376
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U32
377
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U32
378
- void ffi_zkap_uniffi_bindings_rust_future_cancel_u32(uint64_t handle
379
- );
380
- #endif
381
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U32
382
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U32
383
- void ffi_zkap_uniffi_bindings_rust_future_free_u32(uint64_t handle
384
- );
385
- #endif
386
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U32
387
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U32
388
- uint32_t ffi_zkap_uniffi_bindings_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
389
- );
390
- #endif
391
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I32
392
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I32
393
- void ffi_zkap_uniffi_bindings_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
394
- );
395
- #endif
396
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I32
397
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I32
398
- void ffi_zkap_uniffi_bindings_rust_future_cancel_i32(uint64_t handle
399
- );
400
- #endif
401
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I32
402
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I32
403
- void ffi_zkap_uniffi_bindings_rust_future_free_i32(uint64_t handle
404
- );
405
- #endif
406
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I32
407
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I32
408
- int32_t ffi_zkap_uniffi_bindings_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
409
- );
410
- #endif
411
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U64
412
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_U64
413
- void ffi_zkap_uniffi_bindings_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
414
- );
415
- #endif
416
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U64
417
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_U64
418
- void ffi_zkap_uniffi_bindings_rust_future_cancel_u64(uint64_t handle
419
- );
420
- #endif
421
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U64
422
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_U64
423
- void ffi_zkap_uniffi_bindings_rust_future_free_u64(uint64_t handle
424
- );
425
- #endif
426
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U64
427
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_U64
428
- uint64_t ffi_zkap_uniffi_bindings_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
429
- );
430
- #endif
431
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I64
432
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_I64
433
- void ffi_zkap_uniffi_bindings_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
434
- );
435
- #endif
436
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I64
437
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_I64
438
- void ffi_zkap_uniffi_bindings_rust_future_cancel_i64(uint64_t handle
439
- );
440
- #endif
441
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I64
442
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_I64
443
- void ffi_zkap_uniffi_bindings_rust_future_free_i64(uint64_t handle
444
- );
445
- #endif
446
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I64
447
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_I64
448
- int64_t ffi_zkap_uniffi_bindings_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
449
- );
450
- #endif
451
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_F32
452
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_F32
453
- void ffi_zkap_uniffi_bindings_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
454
- );
455
- #endif
456
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_F32
457
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_F32
458
- void ffi_zkap_uniffi_bindings_rust_future_cancel_f32(uint64_t handle
459
- );
460
- #endif
461
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_F32
462
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_F32
463
- void ffi_zkap_uniffi_bindings_rust_future_free_f32(uint64_t handle
464
- );
465
- #endif
466
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_F32
467
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_F32
468
- float ffi_zkap_uniffi_bindings_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
469
- );
470
- #endif
471
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_F64
472
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_F64
473
- void ffi_zkap_uniffi_bindings_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
474
- );
475
- #endif
476
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_F64
477
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_F64
478
- void ffi_zkap_uniffi_bindings_rust_future_cancel_f64(uint64_t handle
479
- );
480
- #endif
481
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_F64
482
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_F64
483
- void ffi_zkap_uniffi_bindings_rust_future_free_f64(uint64_t handle
484
- );
485
- #endif
486
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_F64
487
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_F64
488
- double ffi_zkap_uniffi_bindings_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
489
- );
490
- #endif
491
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_RUST_BUFFER
492
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_RUST_BUFFER
493
- void ffi_zkap_uniffi_bindings_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
494
- );
495
- #endif
496
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_RUST_BUFFER
497
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_RUST_BUFFER
498
- void ffi_zkap_uniffi_bindings_rust_future_cancel_rust_buffer(uint64_t handle
499
- );
500
- #endif
501
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_RUST_BUFFER
502
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_RUST_BUFFER
503
- void ffi_zkap_uniffi_bindings_rust_future_free_rust_buffer(uint64_t handle
504
- );
505
- #endif
506
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_RUST_BUFFER
507
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_RUST_BUFFER
508
- RustBuffer ffi_zkap_uniffi_bindings_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
509
- );
510
- #endif
511
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_VOID
512
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_POLL_VOID
513
- void ffi_zkap_uniffi_bindings_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
514
- );
515
- #endif
516
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_VOID
517
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_CANCEL_VOID
518
- void ffi_zkap_uniffi_bindings_rust_future_cancel_void(uint64_t handle
519
- );
520
- #endif
521
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_VOID
522
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_FREE_VOID
523
- void ffi_zkap_uniffi_bindings_rust_future_free_void(uint64_t handle
524
- );
525
- #endif
526
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_VOID
527
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_RUST_FUTURE_COMPLETE_VOID
528
- void ffi_zkap_uniffi_bindings_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
529
- );
530
- #endif
531
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_ANCHOR
532
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_ANCHOR
533
- uint16_t uniffi_zkap_uniffi_bindings_checksum_func_generate_anchor(void
534
-
535
- );
536
- #endif
537
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_AUD_HASH
538
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_AUD_HASH
539
- uint16_t uniffi_zkap_uniffi_bindings_checksum_func_generate_aud_hash(void
540
-
541
- );
542
- #endif
543
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_HASH
544
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_HASH
545
- uint16_t uniffi_zkap_uniffi_bindings_checksum_func_generate_hash(void
546
-
547
- );
548
- #endif
549
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_LEAF_HASH
550
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_GENERATE_LEAF_HASH
551
- uint16_t uniffi_zkap_uniffi_bindings_checksum_func_generate_leaf_hash(void
552
-
553
- );
554
- #endif
555
- #ifndef UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_PROVE
556
- #define UNIFFI_FFIDEF_UNIFFI_ZKAP_UNIFFI_BINDINGS_CHECKSUM_FUNC_PROVE
557
- uint16_t uniffi_zkap_uniffi_bindings_checksum_func_prove(void
558
-
559
- );
560
- #endif
561
- #ifndef UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_UNIFFI_CONTRACT_VERSION
562
- #define UNIFFI_FFIDEF_FFI_ZKAP_UNIFFI_BINDINGS_UNIFFI_CONTRACT_VERSION
563
- uint32_t ffi_zkap_uniffi_bindings_uniffi_contract_version(void
564
-
565
- );
566
- #endif
567
-
@@ -1,7 +0,0 @@
1
- module zkap_uniffi_bindingsFFI {
2
- header "zkap_uniffi_bindingsFFI.h"
3
- export *
4
- use "Darwin"
5
- use "_Builtin_stdbool"
6
- use "_Builtin_stdint"
7
- }