File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,9 @@ using WasmCustomDescriptorsEnabledCallback = bool (*)(Local<Context> context);
331331using SharedArrayBufferConstructorEnabledCallback =
332332 bool (*)(Local<Context> context);
333333
334+ // --- Callback for checking if WebAssembly JSPI is enabled ---
335+ using WasmJSPIEnabledCallback = bool (*)(Local<Context> context);
336+
334337/* *
335338 * Import phases in import requests.
336339 */
Original file line number Diff line number Diff line change @@ -1717,6 +1717,8 @@ class V8_EXPORT Isolate {
17171717 void SetSharedArrayBufferConstructorEnabledCallback (
17181718 SharedArrayBufferConstructorEnabledCallback callback);
17191719
1720+ void SetWasmJSPIEnabledCallback (WasmJSPIEnabledCallback callback) {}
1721+
17201722 /* *
17211723 * This function can be called by the embedder to signal V8 that the dynamic
17221724 * enabling of features has finished. V8 can now set up dynamically added
You can’t perform that action at this time.
0 commit comments