mirror of
https://github.com/fluencelabs/fluence-VRF
synced 2025-06-03 10:01:34 +00:00
17 lines
224 B
C++
17 lines
224 B
C++
|
#include "allocator.h"
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
#define UNUSED(x) (void)(x)
|
||
|
|
||
|
extern "C" {
|
||
|
void *allocate(size_t size) {
|
||
|
return malloc(size);
|
||
|
}
|
||
|
|
||
|
void deallocate(void *ptr, size_t size) {
|
||
|
UNUSED(size);
|
||
|
free(ptr);
|
||
|
}
|
||
|
|
||
|
}
|