improved malloc
This commit is contained in:
parent
e5c428e6cf
commit
fd35ff3df7
3 changed files with 53 additions and 39 deletions
|
@ -1,8 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#define NULL ((void*)0)
|
||||
|
||||
void heap_init();
|
||||
|
||||
void* malloc();
|
||||
void* malloc(size_t size);
|
||||
void free(void* ptr);
|
Loading…
Add table
Add a link
Reference in a new issue