add realloc (and update c_allocator)

This commit is contained in:
2026-07-11 13:42:55 +02:00
parent 90869dcb4d
commit 6dd6b7ff54
6 changed files with 122 additions and 5 deletions
+1
View File
@@ -1,3 +1,4 @@
malloc c_func(__size c_ulong) ?*mut anyopaque
realloc c_func(__ptr ?*mut anyopaque, __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