Home
last modified time | relevance | path

Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sqlite3/
H A Dsqlite3.h1813 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
1814 struct sqlite3_mem_methods { struct
1815 void *(*xMalloc)(int); /* Memory allocation function */
1816 void (*xFree)(void*); /* Free a prior allocation */
1817 void *(*xRealloc)(void*,int); /* Resize an allocation */
1818 int (*xSize)(void*); /* Return the size of an allocation */
1819 int (*xRoundup)(int); /* Round up request size to allocation size */
1820 int (*xInit)(void*); /* Initialize the memory allocator */
1821 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
1822 void *pAppData; /* Argument to xInit() and xShutdown() */
H A Dsqlite3.c2134 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
2135 struct sqlite3_mem_methods { struct
2136 void *(*xMalloc)(int); /* Memory allocation function */
2137 void (*xFree)(void*); /* Free a prior allocation */
2138 void *(*xRealloc)(void*,int); /* Resize an allocation */
2139 int (*xSize)(void*); /* Return the size of an allocation */
2140 int (*xRoundup)(int); /* Round up request size to allocation size */
2141 int (*xInit)(void*); /* Initialize the memory allocator */
2142 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
2143 void *pAppData; /* Argument to xInit() and xShutdown() */