diff options
Diffstat (limited to 'src/runtime/malloc.h')
| -rw-r--r-- | src/runtime/malloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/malloc.h b/src/runtime/malloc.h index 8b4d76919a..ca05f0191e 100644 --- a/src/runtime/malloc.h +++ b/src/runtime/malloc.h @@ -364,3 +364,7 @@ void MHeap_Init(MHeap *h, void *(*allocator)(uintptr)); MSpan* MHeap_Alloc(MHeap *h, uintptr npage, int32 sizeclass); void MHeap_Free(MHeap *h, MSpan *s); MSpan* MHeap_Lookup(MHeap *h, PageID p); + +void* malloc(uintptr size); +void free(void *v); +void mlookup(void *v, byte **base, uintptr *size); |
