diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/__global.zig | 3 | ||||
-rw-r--r-- | src/javascript/jsc/bindings/headers-handwritten.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/__global.zig b/src/__global.zig index 39ac9496f..389b2c203 100644 --- a/src/__global.zig +++ b/src/__global.zig @@ -51,9 +51,10 @@ pub const AllocatorConfiguration = struct { long_running: bool = false, }; +pub const Mimalloc = @import("./allocators/mimalloc.zig"); + pub inline fn mimalloc_cleanup(force: bool) void { if (comptime use_mimalloc) { - const Mimalloc = @import("./allocators/mimalloc.zig"); Mimalloc.mi_collect(force); } } diff --git a/src/javascript/jsc/bindings/headers-handwritten.h b/src/javascript/jsc/bindings/headers-handwritten.h index 8bfc1a09d..a190d694a 100644 --- a/src/javascript/jsc/bindings/headers-handwritten.h +++ b/src/javascript/jsc/bindings/headers-handwritten.h @@ -173,6 +173,7 @@ typedef struct { uint32_t len; uint32_t byte_len; uint8_t cell_type; + uint64_t _value; } Bun__ArrayBuffer; #ifndef STRING_POINTER |