mirror of
https://github.com/fluencelabs/fluence-VRF
synced 2025-06-01 17:11:48 +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);
|
|
}
|
|
|
|
}
|