Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1766 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1767 struct sqlite3_mem_methods { struct1768 void *(*xMalloc)(int); /* Memory allocation function */1769 void (*xFree)(void*); /* Free a prior allocation */1770 void *(*xRealloc)(void*,int); /* Resize an allocation */1771 int (*xSize)(void*); /* Return the size of an allocation */1772 int (*xRoundup)(int); /* Round up request size to allocation size */1773 int (*xInit)(void*); /* Initialize the memory allocator */1774 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1775 void *pAppData; /* Argument to xInit() and xShutdown() */
2079 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2080 struct sqlite3_mem_methods { struct2081 void *(*xMalloc)(int); /* Memory allocation function */2082 void (*xFree)(void*); /* Free a prior allocation */2083 void *(*xRealloc)(void*,int); /* Resize an allocation */2084 int (*xSize)(void*); /* Return the size of an allocation */2085 int (*xRoundup)(int); /* Round up request size to allocation size */2086 int (*xInit)(void*); /* Initialize the memory allocator */2087 void (*xShutdown)(void*); /* Deinitialize the memory allocator */2088 void *pAppData; /* Argument to xInit() and xShutdown() */