2017-09-01 15:53:06 +01:00
|
|
|
#ifndef GUARD_MALLOC_H
|
|
|
|
#define GUARD_MALLOC_H
|
|
|
|
|
2017-09-16 03:12:45 +01:00
|
|
|
extern u8 gHeap[];
|
|
|
|
|
2017-09-01 15:53:06 +01:00
|
|
|
void *Alloc(u32 size);
|
|
|
|
void *AllocZeroed(u32 size);
|
|
|
|
void Free(void *pointer);
|
2017-09-16 03:12:45 +01:00
|
|
|
void InitHeap(void *pointer, u32 size);
|
2017-09-01 15:53:06 +01:00
|
|
|
|
|
|
|
#endif // GUARD_MALLOC_H
|