Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1723 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1724 struct sqlite3_mem_methods { struct1725 void *(*xMalloc)(int); /* Memory allocation function */1726 void (*xFree)(void*); /* Free a prior allocation */1727 void *(*xRealloc)(void*,int); /* Resize an allocation */1728 int (*xSize)(void*); /* Return the size of an allocation */1729 int (*xRoundup)(int); /* Round up request size to allocation size */1730 int (*xInit)(void*); /* Initialize the memory allocator */1731 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1732 void *pAppData; /* Argument to xInit() and xShutdown() */
2033 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2034 struct sqlite3_mem_methods { struct2035 void *(*xMalloc)(int); /* Memory allocation function */2036 void (*xFree)(void*); /* Free a prior allocation */2037 void *(*xRealloc)(void*,int); /* Resize an allocation */2038 int (*xSize)(void*); /* Return the size of an allocation */2039 int (*xRoundup)(int); /* Round up request size to allocation size */2040 int (*xInit)(void*); /* Initialize the memory allocator */2041 void (*xShutdown)(void*); /* Deinitialize the memory allocator */2042 void *pAppData; /* Argument to xInit() and xShutdown() */