On Wed, 24 May 2006, Mikey C wrote:


I would rather add these functions directly to the core SQLite DLL in C in
and compile them directly into the code (using a conditional).

They then register this function by adding it to the array of existing
functions:

...

This seems to work (I've tried it).

HOWEVER, it means altering func.c and I was looking for how to add these
functions in a separate C file without having to alter any existing code?

Anyone any ideas how best to extend the codebase of SQLite with minimal
alteration to existing code?


You best bet is to open a ticket in CVSTrac:
http://www.sqlite.org/cvstrac/tktnew

Attach a patch to the ticket that implements your new functions. Send your declaration of dedication of the code to the public domain to the list, and hope DRH includes the patch in the next release.



Cheers,

Mike


Christian

Reply via email to