mirror of
https://github.com/fluencelabs/fluid
synced 2025-03-16 02:50:50 +00:00
14 lines
208 B
C
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);
|
||
|
}
|