allocation related primitives
This commit is contained in:
+3
-2
@@ -1,2 +1,3 @@
|
||||
malloc c_func(size usize) ?*mut anyopaque
|
||||
free c_func(ptr ?*mut anyopaque) void
|
||||
malloc c_func(__size c_ulong) ?*mut anyopaque
|
||||
free c_func(_ ?*mut anyopaque) void
|
||||
posix_memalign c_func(__memptr ?*mut ?*mut anyopaque, __alignment c_ulong, __size c_ulong) c_int
|
||||
|
||||
Reference in New Issue
Block a user