@npaw/forge-react-native 10.0.4 → 10.2.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/android/build.gradle +1 -1
- package/android/src/main/java/com/npaw/forge/reactnative/ForgeDtoMapper.java +14 -0
- package/android/src/main/java/com/npaw/forge/reactnative/NPAWForgeModule.java +82 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/Info.plist +9 -9
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/Headers/forge_kernelFFI.h +71 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64/libForgeKernelFFI.a +0 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/Headers/forge_kernelFFI.h +71 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/libForgeKernelFFI.a +0 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/Headers/forge_kernelFFI.h +71 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64/libForgeKernelFFI.a +0 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/Headers/forge_kernelFFI.h +71 -0
- package/ios/ForgeApple/ForgeKernelFFI.xcframework/tvos-arm64-simulator/libForgeKernelFFI.a +0 -0
- package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernel.swift +250 -0
- package/ios/ForgeApple/Sources/ForgeKernelUniFFI/forge_kernelFFI.h +71 -0
- package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeApple.swift +147 -6
- package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeCommands.swift +113 -0
- package/ios/ForgeApple/Sources/NPAWForgeCore/ForgeRuntime.swift +72 -2
- package/ios/ForgeApple/Sources/NPAWForgeCore/NPAWForge.swift +46 -2
- package/ios/ForgeApple/Sources/NPAWForgeCore/NativeUniFFIRuntime.swift +53 -0
- package/ios/ForgeApple/Sources/NPAWForgeCore/ObjectiveCWrappers.swift +14 -0
- package/ios/ForgeModuleImpl.swift +66 -0
- package/ios/NPAWForgeTurboModule.mm +16 -1
- package/package.json +1 -1
- package/src/NPAWForge.ts +131 -1
- package/src/events.ts +17 -0
- package/src/index.ts +6 -2
- package/src/specs/NativeNPAWForge.ts +9 -0
- package/src/types.ts +21 -0
package/android/build.gradle
CHANGED
|
@@ -28,7 +28,7 @@ def safeExtGet(prop, fallback) {
|
|
|
28
28
|
// FORGE_CORE_VERSION (see scripts/react-native/hydrate-natives.sh).
|
|
29
29
|
def forgeCoreVersion = project.hasProperty('NpawForge_forgeCoreVersion')
|
|
30
30
|
? project.property('NpawForge_forgeCoreVersion')
|
|
31
|
-
: (System.getenv('FORGE_CORE_VERSION') ?: '10.0
|
|
31
|
+
: (System.getenv('FORGE_CORE_VERSION') ?: '10.2.0')
|
|
32
32
|
|
|
33
33
|
android {
|
|
34
34
|
namespace 'com.npaw.forge.reactnative'
|
|
@@ -22,6 +22,7 @@ import com.facebook.react.bridge.WritableMap;
|
|
|
22
22
|
import com.npaw.forge.android.NPAWForge;
|
|
23
23
|
import com.npaw.forge.android.core.ForgeOutcome;
|
|
24
24
|
import com.npaw.forge.android.core.ForgeRecordedEvent;
|
|
25
|
+
import com.npaw.forge.android.core.ForgeCommand;
|
|
25
26
|
import com.npaw.forge.android.core.ForgeRenderedLog;
|
|
26
27
|
import com.npaw.forge.android.network.NetworkRequestOutcome;
|
|
27
28
|
import com.npaw.forge.android.network.NetworkRequestRecord;
|
|
@@ -226,6 +227,19 @@ public final class ForgeDtoMapper {
|
|
|
226
227
|
return result;
|
|
227
228
|
}
|
|
228
229
|
|
|
230
|
+
public static WritableMap commandToMap(String instanceId, ForgeCommand command) {
|
|
231
|
+
WritableArray args = Arguments.createArray();
|
|
232
|
+
for (String arg : command.getArgs()) {
|
|
233
|
+
args.pushString(arg);
|
|
234
|
+
}
|
|
235
|
+
WritableMap result = Arguments.createMap();
|
|
236
|
+
result.putString("instanceId", instanceId);
|
|
237
|
+
result.putString("id", command.getId());
|
|
238
|
+
result.putString("name", command.getName());
|
|
239
|
+
result.putArray("args", args);
|
|
240
|
+
return result;
|
|
241
|
+
}
|
|
242
|
+
|
|
229
243
|
public static WritableMap renderedLogToMap(String instanceId, ForgeRenderedLog log) {
|
|
230
244
|
WritableMap result = Arguments.createMap();
|
|
231
245
|
result.putString("instanceId", instanceId);
|
|
@@ -19,6 +19,7 @@ import android.content.Context;
|
|
|
19
19
|
import androidx.annotation.Nullable;
|
|
20
20
|
import com.facebook.react.bridge.Promise;
|
|
21
21
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
22
|
+
import com.facebook.react.bridge.ReadableArray;
|
|
22
23
|
import com.facebook.react.bridge.ReadableMap;
|
|
23
24
|
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
24
25
|
import com.npaw.forge.android.NPAWForge;
|
|
@@ -27,6 +28,7 @@ import com.npaw.forge.android.core.ForgeOutcome;
|
|
|
27
28
|
import com.npaw.forge.android.core.ForgeRecordedEvent;
|
|
28
29
|
import com.npaw.forge.android.core.ForgeRenderedLog;
|
|
29
30
|
import com.npaw.forge.android.video.ManualAdReporter;
|
|
31
|
+
import com.npaw.forge.android.core.ForgeCommand;
|
|
30
32
|
import com.npaw.forge.android.video.VideoAdapter;
|
|
31
33
|
import com.npaw.forge.android.video.VideoOptions;
|
|
32
34
|
import java.util.Map;
|
|
@@ -38,6 +40,7 @@ public class NPAWForgeModule extends NativeNPAWForgeSpec {
|
|
|
38
40
|
public static final String NAME = "NPAWForgeRN";
|
|
39
41
|
public static final String FORGE_EVENT_CHANNEL = "NPAWForgeEvent";
|
|
40
42
|
public static final String FORGE_LOG_CHANNEL = "NPAWForgeLog";
|
|
43
|
+
public static final String FORGE_COMMAND_CHANNEL = "NPAWForgeCommand";
|
|
41
44
|
/**
|
|
42
45
|
* Declared to the native facade so React Native traffic is distinguishable in
|
|
43
46
|
* {@code pluginInfo}; the reported platform stays {@code android}.
|
|
@@ -64,6 +67,13 @@ public class NPAWForgeModule extends NativeNPAWForgeSpec {
|
|
|
64
67
|
private final ConcurrentHashMap<String, ForgeEventSubscription> logSubscriptions =
|
|
65
68
|
new ConcurrentHashMap<>();
|
|
66
69
|
private final ConcurrentHashMap<Integer, ManualAdReporter> adReporters = new ConcurrentHashMap<>();
|
|
70
|
+
/**
|
|
71
|
+
* Remote command subscriptions per instance, one native listener per subscribed
|
|
72
|
+
* name. Explicit (driven by the JS onCommand registry), so unlike the event feed
|
|
73
|
+
* they do not follow {@code listenerCount}.
|
|
74
|
+
*/
|
|
75
|
+
private final ConcurrentHashMap<String, ConcurrentHashMap<String, ForgeEventSubscription>>
|
|
76
|
+
commandSubscriptions = new ConcurrentHashMap<>();
|
|
67
77
|
private final AtomicInteger nextInstanceId = new AtomicInteger(1);
|
|
68
78
|
private final AtomicInteger nextReporterId = new AtomicInteger(1);
|
|
69
79
|
private final AtomicInteger listenerCount = new AtomicInteger(0);
|
|
@@ -121,9 +131,78 @@ public class NPAWForgeModule extends NativeNPAWForgeSpec {
|
|
|
121
131
|
if (logSubscription != null) {
|
|
122
132
|
logSubscription.cancel();
|
|
123
133
|
}
|
|
134
|
+
cancelCommandSubscriptions(instanceId);
|
|
124
135
|
promise.resolve(ForgeDtoMapper.outcomeToMap(forge.destroy()));
|
|
125
136
|
}
|
|
126
137
|
|
|
138
|
+
// ---- remote commands ----
|
|
139
|
+
|
|
140
|
+
@Override
|
|
141
|
+
public void setCommandSubscriptions(String instanceId, ReadableArray names, Promise promise) {
|
|
142
|
+
NPAWForge forge = resolveOrReject(instanceId, promise);
|
|
143
|
+
if (forge == null) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
java.util.Set<String> wanted = new java.util.LinkedHashSet<>();
|
|
147
|
+
if (names != null) {
|
|
148
|
+
for (int index = 0; index < names.size(); index += 1) {
|
|
149
|
+
String name = names.getString(index);
|
|
150
|
+
if (name != null && !name.isEmpty()) {
|
|
151
|
+
wanted.add(name);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
ConcurrentHashMap<String, ForgeEventSubscription> current =
|
|
156
|
+
commandSubscriptions.computeIfAbsent(instanceId, key -> new ConcurrentHashMap<>());
|
|
157
|
+
for (String name : new java.util.ArrayList<>(current.keySet())) {
|
|
158
|
+
if (!wanted.contains(name)) {
|
|
159
|
+
ForgeEventSubscription subscription = current.remove(name);
|
|
160
|
+
if (subscription != null) {
|
|
161
|
+
subscription.cancel();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
for (String name : wanted) {
|
|
166
|
+
if (!current.containsKey(name)) {
|
|
167
|
+
// One native listener per name; the JS registry fans out to its own
|
|
168
|
+
// listeners and answers by id through answerCommand.
|
|
169
|
+
current.put(
|
|
170
|
+
name,
|
|
171
|
+
forge.onCommand(name, (command, answer) -> emitForgeCommand(instanceId, command)));
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
promise.resolve(ForgeDtoMapper.outcomeToMap(ForgeOutcome.Accepted.INSTANCE));
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@Override
|
|
178
|
+
public void answerCommand(
|
|
179
|
+
String instanceId, String commandId, boolean handled, ReadableMap details, Promise promise) {
|
|
180
|
+
withForge(
|
|
181
|
+
instanceId,
|
|
182
|
+
promise,
|
|
183
|
+
forge -> forge.answerCommand(commandId, handled, ForgeDtoMapper.toStringMap(details)));
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
private void cancelCommandSubscriptions(String instanceId) {
|
|
187
|
+
ConcurrentHashMap<String, ForgeEventSubscription> current = commandSubscriptions.remove(instanceId);
|
|
188
|
+
if (current == null) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
for (ForgeEventSubscription subscription : current.values()) {
|
|
192
|
+
subscription.cancel();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
private void emitForgeCommand(String instanceId, ForgeCommand command) {
|
|
197
|
+
ReactApplicationContext context = getReactApplicationContext();
|
|
198
|
+
if (!context.hasActiveReactInstance()) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
context
|
|
202
|
+
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
|
|
203
|
+
.emit(FORGE_COMMAND_CHANNEL, ForgeDtoMapper.commandToMap(instanceId, command));
|
|
204
|
+
}
|
|
205
|
+
|
|
127
206
|
@Override
|
|
128
207
|
public void setLogLevel(String instanceId, String level, Promise promise) {
|
|
129
208
|
withForge(instanceId, promise, forge -> forge.setLogLevel(level));
|
|
@@ -675,6 +754,9 @@ public class NPAWForgeModule extends NativeNPAWForgeSpec {
|
|
|
675
754
|
@Override
|
|
676
755
|
public void invalidate() {
|
|
677
756
|
cancelAllSubscriptions();
|
|
757
|
+
for (String instanceId : new java.util.ArrayList<>(commandSubscriptions.keySet())) {
|
|
758
|
+
cancelCommandSubscriptions(instanceId);
|
|
759
|
+
}
|
|
678
760
|
adReporters.clear();
|
|
679
761
|
for (NPAWForge forge : ForgeInstanceRegistry.clear()) {
|
|
680
762
|
forge.destroy();
|
|
@@ -10,18 +10,15 @@
|
|
|
10
10
|
<key>HeadersPath</key>
|
|
11
11
|
<string>Headers</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>libForgeKernelFFI.a</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
|
-
<string>x86_64</string>
|
|
20
19
|
</array>
|
|
21
20
|
<key>SupportedPlatform</key>
|
|
22
21
|
<string>ios</string>
|
|
23
|
-
<key>SupportedPlatformVariant</key>
|
|
24
|
-
<string>simulator</string>
|
|
25
22
|
</dict>
|
|
26
23
|
<dict>
|
|
27
24
|
<key>BinaryPath</key>
|
|
@@ -29,7 +26,7 @@
|
|
|
29
26
|
<key>HeadersPath</key>
|
|
30
27
|
<string>Headers</string>
|
|
31
28
|
<key>LibraryIdentifier</key>
|
|
32
|
-
<string>
|
|
29
|
+
<string>tvos-arm64</string>
|
|
33
30
|
<key>LibraryPath</key>
|
|
34
31
|
<string>libForgeKernelFFI.a</string>
|
|
35
32
|
<key>SupportedArchitectures</key>
|
|
@@ -37,7 +34,7 @@
|
|
|
37
34
|
<string>arm64</string>
|
|
38
35
|
</array>
|
|
39
36
|
<key>SupportedPlatform</key>
|
|
40
|
-
<string>
|
|
37
|
+
<string>tvos</string>
|
|
41
38
|
</dict>
|
|
42
39
|
<dict>
|
|
43
40
|
<key>BinaryPath</key>
|
|
@@ -45,15 +42,16 @@
|
|
|
45
42
|
<key>HeadersPath</key>
|
|
46
43
|
<string>Headers</string>
|
|
47
44
|
<key>LibraryIdentifier</key>
|
|
48
|
-
<string>
|
|
45
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
49
46
|
<key>LibraryPath</key>
|
|
50
47
|
<string>libForgeKernelFFI.a</string>
|
|
51
48
|
<key>SupportedArchitectures</key>
|
|
52
49
|
<array>
|
|
53
50
|
<string>arm64</string>
|
|
51
|
+
<string>x86_64</string>
|
|
54
52
|
</array>
|
|
55
53
|
<key>SupportedPlatform</key>
|
|
56
|
-
<string>
|
|
54
|
+
<string>ios</string>
|
|
57
55
|
<key>SupportedPlatformVariant</key>
|
|
58
56
|
<string>simulator</string>
|
|
59
57
|
</dict>
|
|
@@ -63,7 +61,7 @@
|
|
|
63
61
|
<key>HeadersPath</key>
|
|
64
62
|
<string>Headers</string>
|
|
65
63
|
<key>LibraryIdentifier</key>
|
|
66
|
-
<string>tvos-arm64</string>
|
|
64
|
+
<string>tvos-arm64-simulator</string>
|
|
67
65
|
<key>LibraryPath</key>
|
|
68
66
|
<string>libForgeKernelFFI.a</string>
|
|
69
67
|
<key>SupportedArchitectures</key>
|
|
@@ -72,6 +70,8 @@
|
|
|
72
70
|
</array>
|
|
73
71
|
<key>SupportedPlatform</key>
|
|
74
72
|
<string>tvos</string>
|
|
73
|
+
<key>SupportedPlatformVariant</key>
|
|
74
|
+
<string>simulator</string>
|
|
75
75
|
</dict>
|
|
76
76
|
</array>
|
|
77
77
|
<key>CFBundlePackageType</key>
|
|
@@ -249,6 +249,13 @@ typedef void (*UniffiCallbackInterfaceAppleCapturePlanListenerMethod0)(uint64_t,
|
|
|
249
249
|
RustCallStatus *_Nonnull uniffiCallStatus
|
|
250
250
|
);
|
|
251
251
|
|
|
252
|
+
#endif
|
|
253
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
254
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
255
|
+
typedef void (*UniffiCallbackInterfaceAppleCommandListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
|
|
256
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
257
|
+
);
|
|
258
|
+
|
|
252
259
|
#endif
|
|
253
260
|
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
254
261
|
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
@@ -293,6 +300,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleCapturePlanListener {
|
|
|
293
300
|
UniffiCallbackInterfaceAppleCapturePlanListenerMethod0 _Nonnull onPlan;
|
|
294
301
|
} UniffiVTableCallbackInterfaceAppleCapturePlanListener;
|
|
295
302
|
|
|
303
|
+
#endif
|
|
304
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
305
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
306
|
+
typedef struct UniffiVTableCallbackInterfaceAppleCommandListener {
|
|
307
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
308
|
+
UniffiCallbackInterfaceClone _Nonnull uniffiClone;
|
|
309
|
+
UniffiCallbackInterfaceAppleCommandListenerMethod0 _Nonnull onCommand;
|
|
310
|
+
} UniffiVTableCallbackInterfaceAppleCommandListener;
|
|
311
|
+
|
|
296
312
|
#endif
|
|
297
313
|
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
298
314
|
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
@@ -354,6 +370,11 @@ void uniffi_forge_kernel_uniffi_fn_free_forgeruntimebridge(uint64_t handle, Rust
|
|
|
354
370
|
uint64_t uniffi_forge_kernel_uniffi_fn_constructor_forgeruntimebridge_new(RustBuffer config, RustCallStatus *_Nonnull out_status
|
|
355
371
|
);
|
|
356
372
|
#endif
|
|
373
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
374
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
375
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(uint64_t ptr, RustBuffer command_id, int8_t handled, RustBuffer details, RustCallStatus *_Nonnull out_status
|
|
376
|
+
);
|
|
377
|
+
#endif
|
|
357
378
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
358
379
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
359
380
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
@@ -364,6 +385,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
|
|
|
364
385
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture_plan_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
365
386
|
);
|
|
366
387
|
#endif
|
|
388
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
389
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
390
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
391
|
+
);
|
|
392
|
+
#endif
|
|
367
393
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
368
394
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
369
395
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
|
|
@@ -454,6 +480,16 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_auto_conn
|
|
|
454
480
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_plan_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
455
481
|
);
|
|
456
482
|
#endif
|
|
483
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
484
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
485
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
486
|
+
);
|
|
487
|
+
#endif
|
|
488
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
489
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
490
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(uint64_t ptr, RustBuffer names, RustCallStatus *_Nonnull out_status
|
|
491
|
+
);
|
|
492
|
+
#endif
|
|
457
493
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
458
494
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
459
495
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
|
|
@@ -499,6 +535,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_start(uint64_
|
|
|
499
535
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener(const UniffiVTableCallbackInterfaceAppleCapturePlanListener* _Nonnull vtable
|
|
500
536
|
);
|
|
501
537
|
#endif
|
|
538
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
539
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
540
|
+
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(const UniffiVTableCallbackInterfaceAppleCommandListener* _Nonnull vtable
|
|
541
|
+
);
|
|
542
|
+
#endif
|
|
502
543
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
503
544
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
504
545
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
|
|
@@ -794,6 +835,12 @@ void ffi_forge_kernel_uniffi_rust_future_complete_void(uint64_t handle, RustCall
|
|
|
794
835
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_FUNC_FORGE_PLUGIN_VERSION
|
|
795
836
|
uint16_t uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version(void
|
|
796
837
|
|
|
838
|
+
);
|
|
839
|
+
#endif
|
|
840
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
841
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
842
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command(void
|
|
843
|
+
|
|
797
844
|
);
|
|
798
845
|
#endif
|
|
799
846
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
@@ -806,6 +853,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_p
|
|
|
806
853
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CAPTURE_PLAN_LISTENER
|
|
807
854
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener(void
|
|
808
855
|
|
|
856
|
+
);
|
|
857
|
+
#endif
|
|
858
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
859
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
860
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener(void
|
|
861
|
+
|
|
809
862
|
);
|
|
810
863
|
#endif
|
|
811
864
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
@@ -914,6 +967,18 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_auto_
|
|
|
914
967
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CAPTURE_PLAN_LISTENER
|
|
915
968
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener(void
|
|
916
969
|
|
|
970
|
+
);
|
|
971
|
+
#endif
|
|
972
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
973
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
974
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener(void
|
|
975
|
+
|
|
976
|
+
);
|
|
977
|
+
#endif
|
|
978
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
979
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
980
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions(void
|
|
981
|
+
|
|
917
982
|
);
|
|
918
983
|
#endif
|
|
919
984
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
@@ -974,6 +1039,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_constructor_forgeruntimebridge_new(
|
|
|
974
1039
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECAPTUREPLANLISTENER_ON_PLAN
|
|
975
1040
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan(void
|
|
976
1041
|
|
|
1042
|
+
);
|
|
1043
|
+
#endif
|
|
1044
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1045
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1046
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command(void
|
|
1047
|
+
|
|
977
1048
|
);
|
|
978
1049
|
#endif
|
|
979
1050
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
|
|
Binary file
|
|
@@ -249,6 +249,13 @@ typedef void (*UniffiCallbackInterfaceAppleCapturePlanListenerMethod0)(uint64_t,
|
|
|
249
249
|
RustCallStatus *_Nonnull uniffiCallStatus
|
|
250
250
|
);
|
|
251
251
|
|
|
252
|
+
#endif
|
|
253
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
254
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
255
|
+
typedef void (*UniffiCallbackInterfaceAppleCommandListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
|
|
256
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
257
|
+
);
|
|
258
|
+
|
|
252
259
|
#endif
|
|
253
260
|
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
254
261
|
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
@@ -293,6 +300,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleCapturePlanListener {
|
|
|
293
300
|
UniffiCallbackInterfaceAppleCapturePlanListenerMethod0 _Nonnull onPlan;
|
|
294
301
|
} UniffiVTableCallbackInterfaceAppleCapturePlanListener;
|
|
295
302
|
|
|
303
|
+
#endif
|
|
304
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
305
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
306
|
+
typedef struct UniffiVTableCallbackInterfaceAppleCommandListener {
|
|
307
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
308
|
+
UniffiCallbackInterfaceClone _Nonnull uniffiClone;
|
|
309
|
+
UniffiCallbackInterfaceAppleCommandListenerMethod0 _Nonnull onCommand;
|
|
310
|
+
} UniffiVTableCallbackInterfaceAppleCommandListener;
|
|
311
|
+
|
|
296
312
|
#endif
|
|
297
313
|
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
298
314
|
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
@@ -354,6 +370,11 @@ void uniffi_forge_kernel_uniffi_fn_free_forgeruntimebridge(uint64_t handle, Rust
|
|
|
354
370
|
uint64_t uniffi_forge_kernel_uniffi_fn_constructor_forgeruntimebridge_new(RustBuffer config, RustCallStatus *_Nonnull out_status
|
|
355
371
|
);
|
|
356
372
|
#endif
|
|
373
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
374
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
375
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(uint64_t ptr, RustBuffer command_id, int8_t handled, RustBuffer details, RustCallStatus *_Nonnull out_status
|
|
376
|
+
);
|
|
377
|
+
#endif
|
|
357
378
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
358
379
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
359
380
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
@@ -364,6 +385,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
|
|
|
364
385
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture_plan_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
365
386
|
);
|
|
366
387
|
#endif
|
|
388
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
389
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
390
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
391
|
+
);
|
|
392
|
+
#endif
|
|
367
393
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
368
394
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
369
395
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
|
|
@@ -454,6 +480,16 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_auto_conn
|
|
|
454
480
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_plan_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
455
481
|
);
|
|
456
482
|
#endif
|
|
483
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
484
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
485
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
486
|
+
);
|
|
487
|
+
#endif
|
|
488
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
489
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
490
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(uint64_t ptr, RustBuffer names, RustCallStatus *_Nonnull out_status
|
|
491
|
+
);
|
|
492
|
+
#endif
|
|
457
493
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
458
494
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
459
495
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
|
|
@@ -499,6 +535,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_start(uint64_
|
|
|
499
535
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener(const UniffiVTableCallbackInterfaceAppleCapturePlanListener* _Nonnull vtable
|
|
500
536
|
);
|
|
501
537
|
#endif
|
|
538
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
539
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
540
|
+
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(const UniffiVTableCallbackInterfaceAppleCommandListener* _Nonnull vtable
|
|
541
|
+
);
|
|
542
|
+
#endif
|
|
502
543
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
503
544
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
504
545
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
|
|
@@ -794,6 +835,12 @@ void ffi_forge_kernel_uniffi_rust_future_complete_void(uint64_t handle, RustCall
|
|
|
794
835
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_FUNC_FORGE_PLUGIN_VERSION
|
|
795
836
|
uint16_t uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version(void
|
|
796
837
|
|
|
838
|
+
);
|
|
839
|
+
#endif
|
|
840
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
841
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
842
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command(void
|
|
843
|
+
|
|
797
844
|
);
|
|
798
845
|
#endif
|
|
799
846
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
@@ -806,6 +853,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_p
|
|
|
806
853
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CAPTURE_PLAN_LISTENER
|
|
807
854
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener(void
|
|
808
855
|
|
|
856
|
+
);
|
|
857
|
+
#endif
|
|
858
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
859
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
860
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener(void
|
|
861
|
+
|
|
809
862
|
);
|
|
810
863
|
#endif
|
|
811
864
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
@@ -914,6 +967,18 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_auto_
|
|
|
914
967
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CAPTURE_PLAN_LISTENER
|
|
915
968
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener(void
|
|
916
969
|
|
|
970
|
+
);
|
|
971
|
+
#endif
|
|
972
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
973
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
974
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener(void
|
|
975
|
+
|
|
976
|
+
);
|
|
977
|
+
#endif
|
|
978
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
979
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
980
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions(void
|
|
981
|
+
|
|
917
982
|
);
|
|
918
983
|
#endif
|
|
919
984
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
@@ -974,6 +1039,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_constructor_forgeruntimebridge_new(
|
|
|
974
1039
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECAPTUREPLANLISTENER_ON_PLAN
|
|
975
1040
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan(void
|
|
976
1041
|
|
|
1042
|
+
);
|
|
1043
|
+
#endif
|
|
1044
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1045
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1046
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command(void
|
|
1047
|
+
|
|
977
1048
|
);
|
|
978
1049
|
#endif
|
|
979
1050
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
|
package/ios/ForgeApple/ForgeKernelFFI.xcframework/ios-arm64_x86_64-simulator/libForgeKernelFFI.a
CHANGED
|
Binary file
|
|
@@ -249,6 +249,13 @@ typedef void (*UniffiCallbackInterfaceAppleCapturePlanListenerMethod0)(uint64_t,
|
|
|
249
249
|
RustCallStatus *_Nonnull uniffiCallStatus
|
|
250
250
|
);
|
|
251
251
|
|
|
252
|
+
#endif
|
|
253
|
+
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
254
|
+
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER_METHOD0
|
|
255
|
+
typedef void (*UniffiCallbackInterfaceAppleCommandListenerMethod0)(uint64_t, RustBuffer, void* _Nonnull,
|
|
256
|
+
RustCallStatus *_Nonnull uniffiCallStatus
|
|
257
|
+
);
|
|
258
|
+
|
|
252
259
|
#endif
|
|
253
260
|
#ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
254
261
|
#define UNIFFI_FFIDEF_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER_METHOD0
|
|
@@ -293,6 +300,15 @@ typedef struct UniffiVTableCallbackInterfaceAppleCapturePlanListener {
|
|
|
293
300
|
UniffiCallbackInterfaceAppleCapturePlanListenerMethod0 _Nonnull onPlan;
|
|
294
301
|
} UniffiVTableCallbackInterfaceAppleCapturePlanListener;
|
|
295
302
|
|
|
303
|
+
#endif
|
|
304
|
+
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
305
|
+
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_COMMAND_LISTENER
|
|
306
|
+
typedef struct UniffiVTableCallbackInterfaceAppleCommandListener {
|
|
307
|
+
UniffiCallbackInterfaceFree _Nonnull uniffiFree;
|
|
308
|
+
UniffiCallbackInterfaceClone _Nonnull uniffiClone;
|
|
309
|
+
UniffiCallbackInterfaceAppleCommandListenerMethod0 _Nonnull onCommand;
|
|
310
|
+
} UniffiVTableCallbackInterfaceAppleCommandListener;
|
|
311
|
+
|
|
296
312
|
#endif
|
|
297
313
|
#ifndef UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
298
314
|
#define UNIFFI_FFIDEF_V_TABLE_CALLBACK_INTERFACE_APPLE_CONTENT_METADATA_PROVIDER
|
|
@@ -354,6 +370,11 @@ void uniffi_forge_kernel_uniffi_fn_free_forgeruntimebridge(uint64_t handle, Rust
|
|
|
354
370
|
uint64_t uniffi_forge_kernel_uniffi_fn_constructor_forgeruntimebridge_new(RustBuffer config, RustCallStatus *_Nonnull out_status
|
|
355
371
|
);
|
|
356
372
|
#endif
|
|
373
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
374
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
375
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_answer_command(uint64_t ptr, RustBuffer command_id, int8_t handled, RustBuffer details, RustCallStatus *_Nonnull out_status
|
|
376
|
+
);
|
|
377
|
+
#endif
|
|
357
378
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
358
379
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
359
380
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
@@ -364,6 +385,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_capture_plan(
|
|
|
364
385
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_capture_plan_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
365
386
|
);
|
|
366
387
|
#endif
|
|
388
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
389
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
390
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_command_listener(uint64_t ptr, RustCallStatus *_Nonnull out_status
|
|
391
|
+
);
|
|
392
|
+
#endif
|
|
367
393
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
368
394
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
369
395
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_clear_content_metadata_provider(uint64_t ptr, uint64_t view_id, RustCallStatus *_Nonnull out_status
|
|
@@ -454,6 +480,16 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_auto_conn
|
|
|
454
480
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_capture_plan_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
455
481
|
);
|
|
456
482
|
#endif
|
|
483
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
484
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
485
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_listener(uint64_t ptr, uint64_t listener, RustCallStatus *_Nonnull out_status
|
|
486
|
+
);
|
|
487
|
+
#endif
|
|
488
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
489
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
490
|
+
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_command_subscriptions(uint64_t ptr, RustBuffer names, RustCallStatus *_Nonnull out_status
|
|
491
|
+
);
|
|
492
|
+
#endif
|
|
457
493
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
458
494
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
459
495
|
RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_set_content_metadata_provider(uint64_t ptr, uint64_t view_id, uint64_t provider, RustCallStatus *_Nonnull out_status
|
|
@@ -499,6 +535,11 @@ RustBuffer uniffi_forge_kernel_uniffi_fn_method_forgeruntimebridge_start(uint64_
|
|
|
499
535
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecaptureplanlistener(const UniffiVTableCallbackInterfaceAppleCapturePlanListener* _Nonnull vtable
|
|
500
536
|
);
|
|
501
537
|
#endif
|
|
538
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
539
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECOMMANDLISTENER
|
|
540
|
+
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecommandlistener(const UniffiVTableCallbackInterfaceAppleCommandListener* _Nonnull vtable
|
|
541
|
+
);
|
|
542
|
+
#endif
|
|
502
543
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
503
544
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_FN_INIT_CALLBACK_VTABLE_APPLECONTENTMETADATAPROVIDER
|
|
504
545
|
void uniffi_forge_kernel_uniffi_fn_init_callback_vtable_applecontentmetadataprovider(const UniffiVTableCallbackInterfaceAppleContentMetadataProvider* _Nonnull vtable
|
|
@@ -794,6 +835,12 @@ void ffi_forge_kernel_uniffi_rust_future_complete_void(uint64_t handle, RustCall
|
|
|
794
835
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_FUNC_FORGE_PLUGIN_VERSION
|
|
795
836
|
uint16_t uniffi_forge_kernel_uniffi_checksum_func_forge_plugin_version(void
|
|
796
837
|
|
|
838
|
+
);
|
|
839
|
+
#endif
|
|
840
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
841
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_ANSWER_COMMAND
|
|
842
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_answer_command(void
|
|
843
|
+
|
|
797
844
|
);
|
|
798
845
|
#endif
|
|
799
846
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CAPTURE_PLAN
|
|
@@ -806,6 +853,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_capture_p
|
|
|
806
853
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CAPTURE_PLAN_LISTENER
|
|
807
854
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_capture_plan_listener(void
|
|
808
855
|
|
|
856
|
+
);
|
|
857
|
+
#endif
|
|
858
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
859
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_COMMAND_LISTENER
|
|
860
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_clear_command_listener(void
|
|
861
|
+
|
|
809
862
|
);
|
|
810
863
|
#endif
|
|
811
864
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_CLEAR_CONTENT_METADATA_PROVIDER
|
|
@@ -914,6 +967,18 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_auto_
|
|
|
914
967
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CAPTURE_PLAN_LISTENER
|
|
915
968
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_capture_plan_listener(void
|
|
916
969
|
|
|
970
|
+
);
|
|
971
|
+
#endif
|
|
972
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
973
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_LISTENER
|
|
974
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_listener(void
|
|
975
|
+
|
|
976
|
+
);
|
|
977
|
+
#endif
|
|
978
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
979
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_COMMAND_SUBSCRIPTIONS
|
|
980
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_forgeruntimebridge_set_command_subscriptions(void
|
|
981
|
+
|
|
917
982
|
);
|
|
918
983
|
#endif
|
|
919
984
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_FORGERUNTIMEBRIDGE_SET_CONTENT_METADATA_PROVIDER
|
|
@@ -974,6 +1039,12 @@ uint16_t uniffi_forge_kernel_uniffi_checksum_constructor_forgeruntimebridge_new(
|
|
|
974
1039
|
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECAPTUREPLANLISTENER_ON_PLAN
|
|
975
1040
|
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecaptureplanlistener_on_plan(void
|
|
976
1041
|
|
|
1042
|
+
);
|
|
1043
|
+
#endif
|
|
1044
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1045
|
+
#define UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECOMMANDLISTENER_ON_COMMAND
|
|
1046
|
+
uint16_t uniffi_forge_kernel_uniffi_checksum_method_applecommandlistener_on_command(void
|
|
1047
|
+
|
|
977
1048
|
);
|
|
978
1049
|
#endif
|
|
979
1050
|
#ifndef UNIFFI_FFIDEF_UNIFFI_FORGE_KERNEL_UNIFFI_CHECKSUM_METHOD_APPLECONTENTMETADATAPROVIDER_METADATA_SNAPSHOT
|
|
Binary file
|