mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 14:55:25 +00:00
std.c: haiku also supports malloc_usable_size to benefit zig's heap
This commit is contained in:
parent
41502c6aa5
commit
a3eb950423
@ -1071,3 +1071,5 @@ pub const sigevent = extern struct {
|
||||
|
||||
/// TODO refines if necessary
|
||||
pub const PTHREAD_STACK_MIN = 2 * 4096;
|
||||
|
||||
pub extern "c" fn malloc_usable_size(?*anyopaque) usize;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user