Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1760 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1761 struct sqlite3_mem_methods { struct1762 void *(*xMalloc)(int); /* Memory allocation function */1763 void (*xFree)(void*); /* Free a prior allocation */1764 void *(*xRealloc)(void*,int); /* Resize an allocation */1765 int (*xSize)(void*); /* Return the size of an allocation */1766 int (*xRoundup)(int); /* Round up request size to allocation size */1767 int (*xInit)(void*); /* Initialize the memory allocator */1768 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1769 void *pAppData; /* Argument to xInit() and xShutdown() */
2071 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2072 struct sqlite3_mem_methods { struct2073 void *(*xMalloc)(int); /* Memory allocation function */2074 void (*xFree)(void*); /* Free a prior allocation */2075 void *(*xRealloc)(void*,int); /* Resize an allocation */2076 int (*xSize)(void*); /* Return the size of an allocation */2077 int (*xRoundup)(int); /* Round up request size to allocation size */2078 int (*xInit)(void*); /* Initialize the memory allocator */2079 void (*xShutdown)(void*); /* Deinitialize the memory allocator */2080 void *pAppData; /* Argument to xInit() and xShutdown() */