Searched defs:sqlite3_mem_methods (Results 1 – 2 of 2) sorted by relevance
1685 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef1686 struct sqlite3_mem_methods { struct1687 void *(*xMalloc)(int); /* Memory allocation function */1688 void (*xFree)(void*); /* Free a prior allocation */1689 void *(*xRealloc)(void*,int); /* Resize an allocation */1690 int (*xSize)(void*); /* Return the size of an allocation */1691 int (*xRoundup)(int); /* Round up request size to allocation size */1692 int (*xInit)(void*); /* Initialize the memory allocator */1693 void (*xShutdown)(void*); /* Deinitialize the memory allocator */1694 void *pAppData; /* Argument to xInit() and xShutdown() */
2777 typedef struct sqlite3_mem_methods sqlite3_mem_methods; typedef2778 struct sqlite3_mem_methods { struct2779 void *(*xMalloc)(int); /* Memory allocation function */2780 void (*xFree)(void*); /* Free a prior allocation */2781 void *(*xRealloc)(void*,int); /* Resize an allocation */2782 int (*xSize)(void*); /* Return the size of an allocation */2783 int (*xRoundup)(int); /* Round up request size to allocation size */2784 int (*xInit)(void*); /* Initialize the memory allocator */2785 void (*xShutdown)(void*); /* Deinitialize the memory allocator */2786 void *pAppData; /* Argument to xInit() and xShutdown() */