On Tue, Mar 13, 2012 at 3:16 PM, Jean-Christophe Deschamps <[email protected]
> wrote:

> Why do you register the function with -1 in the first place?
> Register both 2- and 3-parms functions (if you have those two variations),
> both pointing to the same function code: argc is valid and let you decide
> what to do without wild guesses.
>
>
Thanks, Jean-Christophe and Simon

Seems like I translated the function prototype to pascal without finding
out what the second unnamed parameter is for. The page
http://sqlite.org/c3ref/create_function.html shows
  (*xFunc)(sqlite3_context*,int,sqlite3_value**)

and never explains the second parameter. I think a short description could
be useful

Max
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to