diff options
| author | foobar <sniper@php.net> | 2005-12-06 02:28:41 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-12-06 02:28:41 +0000 |
| commit | 3e669bc950eb5f36e5f0bec199f8e4b9de4d13f2 (patch) | |
| tree | 710f41df00171b7c2daad96f0eba3171f09188b1 /ext/sqlite | |
| parent | 347032c7530f24cc4979ea297ae8cfda8851c14a (diff) | |
| download | php-git-3e669bc950eb5f36e5f0bec199f8e4b9de4d13f2.tar.gz | |
MFH: nuke php3 legacy
Diffstat (limited to 'ext/sqlite')
| -rw-r--r-- | ext/sqlite/pdo_sqlite2.c | 4 | ||||
| -rw-r--r-- | ext/sqlite/sqlite.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/sqlite/pdo_sqlite2.c b/ext/sqlite/pdo_sqlite2.c index bd2cd0768e..5efa99c8b1 100644 --- a/ext/sqlite/pdo_sqlite2.c +++ b/ext/sqlite/pdo_sqlite2.c @@ -477,12 +477,12 @@ static PHP_FUNCTION(sqlite2_create_function) /* TODO: implement this stuff */ } -static function_entry dbh_methods[] = { +static zend_function_entry dbh_methods[] = { PHP_FE(sqlite2_create_function, NULL) {NULL, NULL, NULL} }; -static function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) +static zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) { switch (kind) { case PDO_DBH_DRIVER_METHOD_KIND_DBH: diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index b45dffbbd3..5cb2518a80 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -163,7 +163,7 @@ static int php_sqlite_fetch(struct php_sqlite_result *rres TSRMLS_DC); enum { PHPSQLITE_ASSOC = 1, PHPSQLITE_NUM = 2, PHPSQLITE_BOTH = PHPSQLITE_ASSOC|PHPSQLITE_NUM }; -function_entry sqlite_functions[] = { +zend_function_entry sqlite_functions[] = { PHP_FE(sqlite_open, third_arg_force_ref) PHP_FE(sqlite_popen, third_arg_force_ref) PHP_FE(sqlite_close, NULL) @@ -206,7 +206,7 @@ function_entry sqlite_functions[] = { {NULL, NULL, NULL} }; -function_entry sqlite_funcs_db[] = { +zend_function_entry sqlite_funcs_db[] = { PHP_ME_MAPPING(__construct, sqlite_open, third_arg_force_ref) /* PHP_ME_MAPPING(close, sqlite_close, NULL)*/ PHP_ME_MAPPING(query, sqlite_query, third_arg_force_ref) @@ -226,7 +226,7 @@ function_entry sqlite_funcs_db[] = { {NULL, NULL, NULL} }; -function_entry sqlite_funcs_query[] = { +zend_function_entry sqlite_funcs_query[] = { PHP_ME_MAPPING(fetch, sqlite_fetch_array, NULL) PHP_ME_MAPPING(fetchObject, sqlite_fetch_object, NULL) PHP_ME_MAPPING(fetchSingle, sqlite_fetch_single, NULL) @@ -250,7 +250,7 @@ function_entry sqlite_funcs_query[] = { {NULL, NULL, NULL} }; -function_entry sqlite_funcs_ub_query[] = { +zend_function_entry sqlite_funcs_ub_query[] = { PHP_ME_MAPPING(fetch, sqlite_fetch_array, NULL) PHP_ME_MAPPING(fetchObject, sqlite_fetch_object, NULL) PHP_ME_MAPPING(fetchSingle, sqlite_fetch_single, NULL) @@ -265,7 +265,7 @@ function_entry sqlite_funcs_ub_query[] = { {NULL, NULL, NULL} }; -function_entry sqlite_funcs_exception[] = { +zend_function_entry sqlite_funcs_exception[] = { {NULL, NULL, NULL} }; |
