CringeDB/System Abstraction/linux/cdb_memroy.c
2022-08-29 14:59:02 +02:00

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);
}