helly Sun Mar 5 17:27:45 2006 UTC
Modified files:
/php-src/ext/mysqli mysqli.c php_mysqli.h
Log:
- Fix build
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/mysqli.c?r1=1.81&r2=1.82&diff_format=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.81 php-src/ext/mysqli/mysqli.c:1.82
--- php-src/ext/mysqli/mysqli.c:1.81 Sun Mar 5 15:49:55 2006
+++ php-src/ext/mysqli/mysqli.c Sun Mar 5 17:27:45 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli.c,v 1.81 2006/03/05 15:49:55 johannes Exp $
+ $Id: mysqli.c,v 1.82 2006/03/05 17:27:45 helly Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -327,7 +327,7 @@
} else if (obj->zo.ce == mysqli_driver_class_entry) {
f.handler = ZEND_FN(mysqli_driver_construct);
} else if (obj->zo.ce == mysqli_warning_class_entry) {
- f.handler = ZEND_FN(mysqli_warning___construct);
+ f.handler = ZEND_MN(mysqli_warning___construct);
}
return (union _zend_function*)&f;
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/php_mysqli.h?r1=1.58&r2=1.59&diff_format=u
Index: php-src/ext/mysqli/php_mysqli.h
diff -u php-src/ext/mysqli/php_mysqli.h:1.58
php-src/ext/mysqli/php_mysqli.h:1.59
--- php-src/ext/mysqli/php_mysqli.h:1.58 Sun Jan 1 13:09:52 2006
+++ php-src/ext/mysqli/php_mysqli.h Sun Mar 5 17:27:45 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: php_mysqli.h,v 1.58 2006/01/01 13:09:52 sniper Exp $
+ $Id: php_mysqli.h,v 1.59 2006/03/05 17:27:45 helly Exp $
*/
/* A little hack to prevent build break, when mysql is used together with
@@ -411,7 +411,7 @@
ZEND_FUNCTION(mysqli_stmt_construct);
ZEND_FUNCTION(mysqli_result_construct);
ZEND_FUNCTION(mysqli_driver_construct);
-ZEND_METHOD(mysqli_warning,__construct);
+PHP_METHOD(mysqli_warning, __construct);
ZEND_BEGIN_MODULE_GLOBALS(mysqli)
long default_link;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php