mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix make headers
This commit is contained in:
@@ -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 {
|
||||
|
||||
8
src/bun.js/bindings/headers.h
generated
8
src/bun.js/bindings/headers.h
generated
@@ -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);
|
||||
|
||||
8
src/bun.js/bindings/headers.zig
generated
8
src/bun.js/bindings/headers.zig
generated
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user