Re: [sqlite] sqlite_mem_methods

2009-07-23 Thread Dan
On Jul 23, 2009, at 11:16 PM, Zachary Turner wrote: > I was looking into overriding the sqlite_mem_methods interface to > specify my own allocator. The two functions I have a question about > are these: > > int (*xSize)(void*) > int (*xRoundup)(int size); > > I've briefly looked over the source

[sqlite] sqlite_mem_methods

2009-07-23 Thread Zachary Turner
I was looking into overriding the sqlite_mem_methods interface to specify my own allocator. The two functions I have a question about are these: int (*xSize)(void*) int (*xRoundup)(int size); I've briefly looked over the source code it *seems* like I can safely return 0 from xSize and 'size' fro