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.h1766 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
1767 struct sqlite3_mem_methods { struct
1768 void *(*xMalloc)(int); /* Memory allocation function */
1769 void (*xFree)(void*); /* Free a prior allocation */
1770 void *(*xRealloc)(void*,int); /* Resize an allocation */
1771 int (*xSize)(void*); /* Return the size of an allocation */
1772 int (*xRoundup)(int); /* Round up request size to allocation size */
1773 int (*xInit)(void*); /* Initialize the memory allocator */
1774 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
1775 void *pAppData; /* Argument to xInit() and xShutdown() */
H A Dsqlite3.c2079 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
2080 struct sqlite3_mem_methods { struct
2081 void *(*xMalloc)(int); /* Memory allocation function */
2082 void (*xFree)(void*); /* Free a prior allocation */
2083 void *(*xRealloc)(void*,int); /* Resize an allocation */
2084 int (*xSize)(void*); /* Return the size of an allocation */
2085 int (*xRoundup)(int); /* Round up request size to allocation size */
2086 int (*xInit)(void*); /* Initialize the memory allocator */
2087 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
2088 void *pAppData; /* Argument to xInit() and xShutdown() */