neo4j_memory_allocator

A memory allocator for neo4j client.

This will be used to allocate regions of memory as required by a connection, for buffers, etc.

Members

Variables

alloc
void* function(neo4j_memory_allocator* self, void* context, size_t size) alloc;

Allocate memory from this allocator.

calloc
void* function(neo4j_memory_allocator* self, void* context, size_t count, size_t size) calloc;

Allocate memory for consecutive objects from this allocator.

free
void function(neo4j_memory_allocator* self, void* ptr) free;

Return memory to this allocator.

vfree
void function(neo4j_memory_allocator* self, void** ptrs, size_t n) vfree;

Return multiple memory regions to this allocator.

Meta