diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bun.js/bindings/bindings.zig | 31 | ||||
| -rw-r--r-- | src/bun.js/bindings/headers.h | 8 | ||||
| -rw-r--r-- | src/bun.js/bindings/headers.zig | 8 | 
3 files changed, 38 insertions, 9 deletions
| diff --git a/src/bun.js/bindings/bindings.zig b/src/bun.js/bindings/bindings.zig index 7f081a4b4..edaa67a26 100644 --- a/src/bun.js/bindings/bindings.zig +++ b/src/bun.js/bindings/bindings.zig @@ -5119,7 +5119,36 @@ pub const VM = extern struct {          return cppFn("blockBytesAllocated", .{vm});      } -    pub const Extern = [_][]const u8{ "setControlFlowProfiler", "collectAsync", "externalMemorySize", "blockBytesAllocated", "heapSize", "releaseWeakRefs", "throwError", "deferGC", "holdAPILock", "runGC", "generateHeapSnapshot", "isJITEnabled", "deleteAllCode", "create", "deinit", "setExecutionForbidden", "executionForbidden", "isEntered", "throwError", "drainMicrotasks", "whenIdle", "shrinkFootprint", "setExecutionTimeLimit", "clearExecutionTimeLimit" }; +    pub const Extern = [_][]const u8{ +        "setControlFlowProfiler", +        "collectAsync", +        "externalMemorySize", +        "blockBytesAllocated", +        "heapSize", +        "releaseWeakRefs", +        "throwError", +        "deferGC", +        "holdAPILock", +        "runGC", +        "generateHeapSnapshot", +        "isJITEnabled", +        "deleteAllCode", +        "create", +        "deinit", +        "setExecutionForbidden", +        "executionForbidden", +        "isEntered", +        "throwError", +        "drainMicrotasks", +        "whenIdle", +        "shrinkFootprint", +        "setExecutionTimeLimit", +        "clearExecutionTimeLimit", +        "notifyNeedTermination", +        "notifyNeedWatchdogCheck", +        "notifyNeedDebuggerBreak", +        "notifyNeedShellTimeoutCheck", +    };  };  pub const ThrowScope = extern struct { diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index c809ddcee..8a4908c7c 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -426,14 +426,14 @@ CPP_DECL size_t JSC__VM__heapSize(JSC__VM* arg0);  CPP_DECL void JSC__VM__holdAPILock(JSC__VM* arg0, void* arg1, void(* ArgFn2)(void* arg0)) __attribute__((nonnull (2)));  CPP_DECL bool JSC__VM__isEntered(JSC__VM* arg0);  CPP_DECL bool JSC__VM__isJITEnabled(); +CPP_DECL void JSC__VM__notifyNeedDebuggerBreak(JSC__VM* arg0); +CPP_DECL void JSC__VM__notifyNeedShellTimeoutCheck(JSC__VM* arg0); +CPP_DECL void JSC__VM__notifyNeedTermination(JSC__VM* arg0); +CPP_DECL void JSC__VM__notifyNeedWatchdogCheck(JSC__VM* arg0);  CPP_DECL void JSC__VM__releaseWeakRefs(JSC__VM* arg0);  CPP_DECL JSC__JSValue JSC__VM__runGC(JSC__VM* arg0, bool arg1);  CPP_DECL void JSC__VM__setControlFlowProfiler(JSC__VM* arg0, bool arg1);  CPP_DECL void JSC__VM__setExecutionForbidden(JSC__VM* arg0, bool arg1); -CPP_DECL void JSC__VM__notifyNeedTermination(JSC__VM* arg0); -CPP_DECL void JSC__VM__notifyNeedDebuggerBreak(JSC__VM* arg0); -CPP_DECL void JSC__VM__notifyNeedShellTimeoutCheck(JSC__VM* arg0); -CPP_DECL void JSC__VM__notifyNeedWatchdogCheck(JSC__VM* arg0);  CPP_DECL void JSC__VM__setExecutionTimeLimit(JSC__VM* arg0, double arg1);  CPP_DECL void JSC__VM__shrinkFootprint(JSC__VM* arg0);  CPP_DECL void JSC__VM__throwError(JSC__VM* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2); diff --git a/src/bun.js/bindings/headers.zig b/src/bun.js/bindings/headers.zig index 8471cb235..724450212 100644 --- a/src/bun.js/bindings/headers.zig +++ b/src/bun.js/bindings/headers.zig @@ -320,14 +320,14 @@ pub extern fn JSC__VM__heapSize(arg0: *bindings.VM) usize;  pub extern fn JSC__VM__holdAPILock(arg0: *bindings.VM, arg1: ?*anyopaque, ArgFn2: ?*const fn (?*anyopaque) callconv(.C) void) void;  pub extern fn JSC__VM__isEntered(arg0: *bindings.VM) bool;  pub extern fn JSC__VM__isJITEnabled(...) bool; +pub extern fn JSC__VM__notifyNeedDebuggerBreak(arg0: *bindings.VM) void; +pub extern fn JSC__VM__notifyNeedShellTimeoutCheck(arg0: *bindings.VM) void; +pub extern fn JSC__VM__notifyNeedTermination(arg0: *bindings.VM) void; +pub extern fn JSC__VM__notifyNeedWatchdogCheck(arg0: *bindings.VM) void;  pub extern fn JSC__VM__releaseWeakRefs(arg0: *bindings.VM) void;  pub extern fn JSC__VM__runGC(arg0: *bindings.VM, arg1: bool) JSC__JSValue;  pub extern fn JSC__VM__setControlFlowProfiler(arg0: *bindings.VM, arg1: bool) void;  pub extern fn JSC__VM__setExecutionForbidden(arg0: *bindings.VM, arg1: bool) void; -pub extern fn JSC__VM__notifyNeedTermination(arg0: *bindings.VM) void; -pub extern fn JSC__VM__notifyNeedDebuggerBreak(arg0: *bindings.VM) void; -pub extern fn JSC__VM__notifyNeedShellTimeoutCheck(arg0: *bindings.VM) void; -pub extern fn JSC__VM__notifyNeedWatchdogCheck(arg0: *bindings.VM) void;  pub extern fn JSC__VM__setExecutionTimeLimit(arg0: *bindings.VM, arg1: f64) void;  pub extern fn JSC__VM__shrinkFootprint(arg0: *bindings.VM) void;  pub extern fn JSC__VM__throwError(arg0: *bindings.VM, arg1: *bindings.JSGlobalObject, JSValue2: JSC__JSValue) void; | 
