File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -321,6 +321,9 @@ using WasmAsyncResolvePromiseCallback = void (*)(
321321using WasmLoadSourceMapCallback = Local<String> (*)(Isolate* isolate,
322322 const char * name);
323323
324+ // --- Callback for checking if WebAssembly imported strings are enabled ---
325+ using WasmImportedStringsEnabledCallback = bool (*)(Local<Context> context);
326+
324327// --- Callback for checking if WebAssembly Custom Descriptors are enabled ---
325328using WasmCustomDescriptorsEnabledCallback = bool (*)(Local<Context> context);
326329
Original file line number Diff line number Diff line change @@ -1708,6 +1708,9 @@ class V8_EXPORT Isolate {
17081708
17091709 void SetWasmLoadSourceMapCallback (WasmLoadSourceMapCallback callback);
17101710
1711+ void SetWasmImportedStringsEnabledCallback (
1712+ WasmImportedStringsEnabledCallback callback) {}
1713+
17111714 void SetWasmCustomDescriptorsEnabledCallback (
17121715 WasmCustomDescriptorsEnabledCallback callback);
17131716
You can’t perform that action at this time.
0 commit comments