mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-12 23:51:37 -07:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user