On 6/12/07, Omar Eljumaily <[EMAIL PROTECTED]> wrote:
When you create a function with sqlite3_create_function, the callback
function is something like:

myFunc(sqlite3_context *context, int argc, sqlite3_value **argv)
{

}

Is it possible to get the name of the function that the callback was
called because of?  I want to write just one callback that is used for
multiple functions.  The reason I want to do this is to be able to add
functions at runtime.

I don't think you can obtain the name from your function, but maybe
you can do what you want with the sqlite3_set_authorizer() method
(maybe in conjunction with the experimental sqlite3_overload_function
method to assure an empty function exists).

Regards,
~Nuno Lucas


Thanks.

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to