const c_allocator: Allocator = .{ .ptr = undefined, .vtable = c_allocator_vtable };
[src]
Supports the full Allocator interface, including alignment, and exploiting malloc_usable_size
if available. For an allocator that directly calls malloc
/free
, see raw_c_allocator
.