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.h1788 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
1789 struct sqlite3_mem_methods { struct
1790 void *(*xMalloc)(int); /* Memory allocation function */
1791 void (*xFree)(void*); /* Free a prior allocation */
1792 void *(*xRealloc)(void*,int); /* Resize an allocation */
1793 int (*xSize)(void*); /* Return the size of an allocation */
1794 int (*xRoundup)(int); /* Round up request size to allocation size */
1795 int (*xInit)(void*); /* Initialize the memory allocator */
1796 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
1797 void *pAppData; /* Argument to xInit() and xShutdown() */
H A Dsqlite3.c2107 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef
2108 struct sqlite3_mem_methods { struct
2109 void *(*xMalloc)(int); /* Memory allocation function */
2110 void (*xFree)(void*); /* Free a prior allocation */
2111 void *(*xRealloc)(void*,int); /* Resize an allocation */
2112 int (*xSize)(void*); /* Return the size of an allocation */
2113 int (*xRoundup)(int); /* Round up request size to allocation size */
2114 int (*xInit)(void*); /* Initialize the memory allocator */
2115 void (*xShutdown)(void*); /* Deinitialize the memory allocator */
2116 void *pAppData; /* Argument to xInit() and xShutdown() */