remove md_malloc, md_free

They were from a copy/paste of zpl's allocator impl and are not used.
This commit is contained in:
2025-02-19 10:15:59 -05:00
parent f3a018b7b8
commit cc906f9ec3
-10
View File
@@ -135,16 +135,6 @@ MD_API void* md_heap_allocator_proc( void* allocator_data, MD_AllocatorMode mode
#define md_heap() (MD_AllocatorInfo){ md_heap_allocator_proc, md_nullptr }
#endif
#ifndef md_malloc
// Helper to allocate memory using md_heap allocator.
#define md_malloc( sz ) md_alloc( md_heap(), sz )
#endif
#ifndef md_free
// Helper to free memory allocated by md_heap allocator.
#define md_free( ptr ) md_alloc_free( md_heap(), ptr )
#endif
/* Virtual Memory MD_Arena
This is separate from the composite arena used by HMH/Casey Muratori/RJF
This arena stricly manages one reservation of the process's virtual address space.