Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1788 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1789 struct sqlite3_mem_methods { struct1790 void *(*xMalloc)(int); /* Memory allocation function */1791 void (*xFree)(void*); /* Free a prior allocation */1792 void *(*xRealloc)(void*,int); /* Resize an allocation */1793 int (*xSize)(void*); /* Return the size of an allocation */1794 int (*xRoundup)(int); /* Round up request size to allocation size */1795 int (*xInit)(void*); /* Initialize the memory allocator */1796 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1797 void *pAppData; /* Argument to xInit() and xShutdown() */
2107 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2108 struct sqlite3_mem_methods { struct2109 void *(*xMalloc)(int); /* Memory allocation function */2110 void (*xFree)(void*); /* Free a prior allocation */2111 void *(*xRealloc)(void*,int); /* Resize an allocation */2112 int (*xSize)(void*); /* Return the size of an allocation */2113 int (*xRoundup)(int); /* Round up request size to allocation size */2114 int (*xInit)(void*); /* Initialize the memory allocator */2115 void (*xShutdown)(void*); /* Deinitialize the memory allocator */2116 void *pAppData; /* Argument to xInit() and xShutdown() */