Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1813 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1814 struct sqlite3_mem_methods { struct1815 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() */
2134 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2135 struct sqlite3_mem_methods { struct2136 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() */