diff options
author | 2022-04-12 00:43:23 -0700 | |
---|---|---|
committer | 2022-04-12 00:43:23 -0700 | |
commit | 9db701ab41cb1195f0ec506455840ea79be07aee (patch) | |
tree | fc22b8cd9d8f6cfb725a654d8e598f817196f816 /src/allocators/mimalloc.zig | |
parent | a0f9a6ed60145dcaa2ee87f745a3dc0a0e05acfd (diff) | |
download | bun-9db701ab41cb1195f0ec506455840ea79be07aee.tar.gz bun-9db701ab41cb1195f0ec506455840ea79be07aee.tar.zst bun-9db701ab41cb1195f0ec506455840ea79be07aee.zip |
wip fixes to sendfile() blocking
Diffstat (limited to 'src/allocators/mimalloc.zig')
-rw-r--r-- | src/allocators/mimalloc.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocators/mimalloc.zig b/src/allocators/mimalloc.zig index b8badec99..f671b4553 100644 --- a/src/allocators/mimalloc.zig +++ b/src/allocators/mimalloc.zig @@ -63,7 +63,7 @@ pub extern fn mi_heap_new() ?*mi_heap_t; pub extern fn mi_heap_delete(heap: ?*mi_heap_t) void; pub extern fn mi_heap_destroy(heap: ?*mi_heap_t) void; pub extern fn mi_heap_set_default(heap: ?*mi_heap_t) ?*mi_heap_t; -pub extern fn mi_heap_get_default() ?*mi_heap_t; +pub extern fn mi_heap_get_default() *mi_heap_t; pub extern fn mi_heap_get_backing() *mi_heap_t; pub extern fn mi_heap_collect(heap: ?*mi_heap_t, force: bool) void; pub extern fn mi_heap_malloc(heap: ?*mi_heap_t, size: usize) ?*anyopaque; |