NAME

SPVM::Document::NativeAPI::Allocator - SPVM Allocator Native APIs

SYNOPSYS

// Allocator API
void* allocator_api = env->api->allocator;

// New allocator
void* allocator = allocator_api->new_allocator();

// Free allocator
allocator_api->free_allocator(allocator);

DESCRIPTION

SPVM Allocator Native APIs are the public APIs to alloc/free memories.

List of Allocator Native APIs