summaryrefslogtreecommitdiff
path: root/ext/mysql
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-10-19 15:04:12 (GMT)
committerAndrey Hristov <andrey@php.net>2011-10-19 15:04:12 (GMT)
commit10e4419231356c02a3205f93f3f08c5817d8ae5b (patch)
treebbf121628edc9ef5bd7a494dcc9a4a275808d5f1 /ext/mysql
parent849e7ae7aa44a682d174ebb894fd03990a51d9e9 (diff)
downloadphp-10e4419231356c02a3205f93f3f08c5817d8ae5b.tar.gz
api_ext to reverse_api
Diffstat (limited to 'ext/mysql')
-rw-r--r--ext/mysql/php_mysql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 5a57624..4af1936 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -530,7 +530,7 @@ static PHP_GINIT_FUNCTION(mysql)
/* }}} */
#ifdef MYSQL_USE_MYSQLND
-static MYSQLND *mysql_convert_zv_to_mysqlnd(zval *zv TSRMLS_DC)
+static MYSQLND * mysql_convert_zv_to_mysqlnd(zval * zv TSRMLS_DC)
{
php_mysql_conn *mysql;
@@ -548,7 +548,7 @@ static MYSQLND *mysql_convert_zv_to_mysqlnd(zval *zv TSRMLS_DC)
return mysql->conn;
}
-static mysqlnd_api_extension_t mysqlnd_api_ext = {
+static MYSQLND_REVERSE_API mysql_reverse_api = {
&mysql_module_entry,
mysql_convert_zv_to_mysqlnd
};
@@ -583,7 +583,7 @@ ZEND_MODULE_STARTUP_D(mysql)
#endif
#ifdef MYSQL_USE_MYSQLND
- mysqlnd_register_api_extension(&mysqlnd_api_ext);
+ mysqlnd_reverse_api_register_api(&mysql_reverse_api TSRMLS_CC);
#endif
return SUCCESS;