Define heap in linker and place other sections correctly
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
void * wilderness;
|
||||
} HeapArena;
|
||||
|
||||
void init_allocator();
|
||||
void* malloc (size_t size);
|
||||
|
||||
Reference in New Issue
Block a user