fluence-VRF/bls/lib/sdk/allocator.cpp
Algys Ievlev 439527dd99 add bls
2019-04-13 20:07:06 +03:00

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);
}
}