CringeDB/System Abstraction/linux/cdb_memroy.c

15 lines
270 B
C
Raw Normal View History

2022-08-29 14:59:02 +02:00
#include "../cdb_sustem.h"
2022-08-28 15:50:14 +02:00
#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);
}