c-template/sdk/allocator.c
2019-04-12 22:02:49 +03:00

14 lines
208 B
C

#include "allocator.h"
#include <stdlib.h>
#define UNUSED(x) (void)(x)
void *allocate(size_t size) {
return malloc(size);
}
void deallocate(void *ptr, size_t size) {
UNUSED(size);
free(ptr);
}