Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1434 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1435 struct sqlite3_mem_methods { struct1436 void *(*xMalloc)(int); /* Memory allocation function */1437 void (*xFree)(void*); /* Free a prior allocation */1438 void *(*xRealloc)(void*,int); /* Resize an allocation */1439 int (*xSize)(void*); /* Return the size of an allocation */1440 int (*xRoundup)(int); /* Round up request size to allocation size */1441 int (*xInit)(void*); /* Initialize the memory allocator */1442 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1443 void *pAppData; /* Argument to xInit() and xShutdown() */
1462 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1463 struct sqlite3_mem_methods { struct1464 void *(*xMalloc)(int); /* Memory allocation function */1465 void (*xFree)(void*); /* Free a prior allocation */1466 void *(*xRealloc)(void*,int); /* Resize an allocation */1467 int (*xSize)(void*); /* Return the size of an allocation */1468 int (*xRoundup)(int); /* Round up request size to allocation size */1469 int (*xInit)(void*); /* Initialize the memory allocator */1470 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1471 void *pAppData; /* Argument to xInit() and xShutdown() */