sqlite3_mem_methods

CAPI3REF: Memory Allocation Routines

Members

Variables

pAppData
void* pAppData;

Argument to xInit() and xShutdown()

xFree
void function(void*) xFree;

Free a prior allocation

xInit
int function(void*) xInit;

Initialize the memory allocator

xMalloc
void* function(int) xMalloc;

Memory allocation function

xRealloc
void* function(void*, int) xRealloc;

Resize an allocation

xRoundup
int function(int) xRoundup;

Round up request size to allocation size

xShutdown
void function(void*) xShutdown;

Deinitialize the memory allocator

xSize
int function(void*) xSize;

Return the size of an allocation

Meta