Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1044 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1045 struct sqlite3_mem_methods { struct1046 void *(*xMalloc)(int); /* Memory allocation function */1047 void (*xFree)(void*); /* Free a prior allocation */1048 void *(*xRealloc)(void*,int); /* Resize an allocation */1049 int (*xSize)(void*); /* Return the size of an allocation */1050 int (*xRoundup)(int); /* Round up request size to allocation size */1051 int (*xInit)(void*); /* Initialize the memory allocator */1052 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1053 void *pAppData; /* Argument to xInit() and xShutdown() */
1568 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1569 struct sqlite3_mem_methods { struct1570 void *(*xMalloc)(int); /* Memory allocation function */1571 void (*xFree)(void*); /* Free a prior allocation */1572 void *(*xRealloc)(void*,int); /* Resize an allocation */1573 int (*xSize)(void*); /* Return the size of an allocation */1574 int (*xRoundup)(int); /* Round up request size to allocation size */1575 int (*xInit)(void*); /* Initialize the memory allocator */1576 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1577 void *pAppData; /* Argument to xInit() and xShutdown() */