Created
February 3, 2013 16:36
-
-
Save yangacer/4702431 to your computer and use it in GitHub Desktop.
sqlite3_create_functoin_v2 comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int sqlite3_create_function_v2( | |
sqlite3 *db, // db connection | |
const char *zFunctionName, // function name | |
int nArg, // number of argument this function takes. -1 for arbitrary numbers | |
int eTextRep, // text encoding, e.g. SQLITE_UTF8 or SQLITE_ANY | |
void *pApp, // pinter to function context | |
void (*xFunc)(sqlite3_context*,int,sqlite3_value**), // a scalar function implementation | |
void (*xStep)(sqlite3_context*,int,sqlite3_value**), // a aggregate function implementation | |
void (*xFinal)(sqlite3_context*), // the same pointer with previous one | |
void(*xDestroy)(void*) // destroy function context | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment