Wrap malloc
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#pragma once
|
||||
#include <stdlib.h>
|
||||
#include "base_core.h"
|
||||
|
||||
void *platform_malloc(size_t size);
|
||||
void platform_free(void *mem);
|
||||
Allocator platform_allocator(void);
|
||||
|
||||
U32 platform_page_size(void);
|
||||
|
||||
// Memory functions expect mem and size to be page aligned
|
||||
|
||||
Reference in New Issue
Block a user