--- Omar Eljumaily <[EMAIL PROTECTED]> wrote:
> Is it possible to get the name of the function that the callback was 
> called because of? 

If you specified a userData argument in sqlite3_create_function()
you can retrieve it in the functon itself with

  void *sqlite3_user_data(sqlite3_context*);

But you'd still have to call sqlite3_create_function() to register 
every new function anyway. Otherwise SQLite's parser wouldn't know 
about these functions' names, whether they are an aggregate function 
or not, or how many parameters they take.

I am not aware of a way to remove a previously created function using
the public API.


       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

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

Reply via email to