15 lines
270 B
C
15 lines
270 B
C
|
#include "../cdb_Sustem.h"
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
// Memory API
|
||
|
void * sus_heapAlloc(size_t bytes) {
|
||
|
return malloc(bytes);
|
||
|
}
|
||
|
|
||
|
void * sus_heapResize(void * memroy, size_t newBytes) {
|
||
|
return realloc(memroy, newBytes);
|
||
|
}
|
||
|
|
||
|
void sus_heapFree(void * memroy) {
|
||
|
free(memroy);
|
||
|
}
|