Searched refs:sql_func_num_args (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c900 long sql_func_num_args = -1; local
905 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &sql_func, &sql_func_len, &callback_func, &sql_func_num_args) == FAILURE) {
922 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, php_sqlite3_callback_func, NULL, NULL) == SQLITE_OK) {
927 func->argc = sql_func_num_args;
950 long sql_func_num_args = -1; local
955 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szz|l", &sql_func, &sql_func_len, &step_callback, &fini_callback, &sql_func_num_args) == FAILURE) {
979 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, NULL, php_sqlite3_callback_step, php_sqlite3_callback_final) == SQLITE_OK) {
985 func->argc = sql_func_num_args;

Completed in 4 milliseconds