diff options
author | foobar <sniper@php.net> | 2005-12-06 02:28:26 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-12-06 02:28:26 +0000 |
commit | a208d9a966905ab2f551acfc93f119b51efc94c7 (patch) | |
tree | d5781cdb101153c87b89e22ec876c291e3b970b2 /ext/pdo | |
parent | a05e8e335d077b8da349d40e8e9523eec554a89e (diff) | |
download | php-git-a208d9a966905ab2f551acfc93f119b51efc94c7.tar.gz |
- Nuke php3 legacy
Diffstat (limited to 'ext/pdo')
-rwxr-xr-x | ext/pdo/pdo.c | 2 | ||||
-rwxr-xr-x | ext/pdo/pdo_dbh.c | 4 | ||||
-rwxr-xr-x | ext/pdo/pdo_stmt.c | 4 | ||||
-rwxr-xr-x | ext/pdo/php_pdo_driver.h | 2 | ||||
-rwxr-xr-x | ext/pdo/php_pdo_int.h | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index 0aeb0734ef..fbd644a6af 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -108,7 +108,7 @@ PHP_FUNCTION(pdo_drivers) /* }}} */ /* {{{ pdo_functions[] */ -function_entry pdo_functions[] = { +zend_function_entry pdo_functions[] = { PHP_FE(pdo_drivers, NULL) {NULL, NULL, NULL} }; diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index cf68449328..34eb360488 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -1081,7 +1081,7 @@ static PHP_METHOD(PDO, getAvailableDrivers) } /* }}} */ -function_entry pdo_dbh_functions[] = { +zend_function_entry pdo_dbh_functions[] = { ZEND_MALIAS(PDO, __construct, dbh_constructor, NULL, ZEND_ACC_PUBLIC) PHP_ME(PDO, prepare, NULL, ZEND_ACC_PUBLIC) PHP_ME(PDO, beginTransaction,NULL, ZEND_ACC_PUBLIC) @@ -1104,7 +1104,7 @@ function_entry pdo_dbh_functions[] = { /* {{{ overloaded object handlers for PDO class */ int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) { - function_entry *funcs; + zend_function_entry *funcs; zend_function func; zend_internal_function *ifunc = (zend_internal_function*)&func; int namelen; diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 021586b90b..75b51d950b 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -1909,7 +1909,7 @@ static PHP_METHOD(PDOStatement, __sleep) } /* }}} */ -function_entry pdo_dbstmt_functions[] = { +zend_function_entry pdo_dbstmt_functions[] = { PHP_ME(PDOStatement, execute, NULL, ZEND_ACC_PUBLIC) PHP_ME(PDOStatement, fetch, NULL, ZEND_ACC_PUBLIC) PHP_ME(PDOStatement, bindParam, second_arg_force_ref, ZEND_ACC_PUBLIC) @@ -2238,7 +2238,7 @@ zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object TSRML /* {{{ overloaded handlers for PDORow class (used by PDO_FETCH_LAZY) */ -function_entry pdo_row_functions[] = { +zend_function_entry pdo_row_functions[] = { {NULL, NULL, NULL} }; diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index d0543cb2c1..4d4b6bfdc6 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -284,7 +284,7 @@ enum { PDO_DBH_DRIVER_METHOD_KIND__MAX }; -typedef function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC); +typedef zend_function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC); struct pdo_dbh_methods { pdo_dbh_close_func closer; diff --git a/ext/pdo/php_pdo_int.h b/ext/pdo/php_pdo_int.h index 6bca408d54..8042d9a3fd 100755 --- a/ext/pdo/php_pdo_int.h +++ b/ext/pdo/php_pdo_int.h @@ -34,12 +34,12 @@ void pdo_dbh_init(TSRMLS_D); void pdo_stmt_init(TSRMLS_D); extern zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC); -extern function_entry pdo_dbh_functions[]; +extern zend_function_entry pdo_dbh_functions[]; extern zend_class_entry *pdo_dbh_ce; extern ZEND_RSRC_DTOR_FUNC(php_pdo_pdbh_dtor); extern zend_object_value pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC); -extern function_entry pdo_dbstmt_functions[]; +extern zend_function_entry pdo_dbstmt_functions[]; extern zend_class_entry *pdo_dbstmt_ce; void pdo_dbstmt_free_storage(pdo_stmt_t *stmt TSRMLS_DC); zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object TSRMLS_DC); @@ -48,7 +48,7 @@ int pdo_stmt_describe_columns(pdo_stmt_t *stmt TSRMLS_DC); int pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, int skip_first_arg); extern zend_object_value pdo_row_new(zend_class_entry *ce TSRMLS_DC); -extern function_entry pdo_row_functions[]; +extern zend_function_entry pdo_row_functions[]; extern zend_class_entry *pdo_row_ce; void pdo_row_free_storage(pdo_stmt_t *stmt TSRMLS_DC); extern zend_object_handlers pdo_row_object_handlers; |