georg Mon May 8 16:19:43 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/mysqli mysqli.c php_mysqli.h
Log:
moved zend_class_entry variables to mysqli.c
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/mysqli.c?r1=1.72.2.16&r2=1.72.2.16.2.1&diff_format=u
Index: php-src/ext/mysqli/mysqli.c
diff -u php-src/ext/mysqli/mysqli.c:1.72.2.16
php-src/ext/mysqli/mysqli.c:1.72.2.16.2.1
--- php-src/ext/mysqli/mysqli.c:1.72.2.16 Sun Apr 2 09:40:19 2006
+++ php-src/ext/mysqli/mysqli.c Mon May 8 16:19:43 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: mysqli.c,v 1.72.2.16 2006/04/02 09:40:19 georg Exp $
+ $Id: mysqli.c,v 1.72.2.16.2.1 2006/05/08 16:19:43 georg Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -43,6 +43,13 @@
static HashTable mysqli_stmt_properties;
static HashTable mysqli_warning_properties;
+zend_class_entry *mysqli_link_class_entry;
+zend_class_entry *mysqli_stmt_class_entry;
+zend_class_entry *mysqli_result_class_entry;
+zend_class_entry *mysqli_driver_class_entry;
+zend_class_entry *mysqli_warning_class_entry;
+zend_class_entry *mysqli_exception_class_entry;
+
extern void php_mysqli_connect(INTERNAL_FUNCTION_PARAMETERS);
typedef int (*mysqli_read_t)(mysqli_object *obj, zval **retval TSRMLS_DC);
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysqli/php_mysqli.h?r1=1.54.2.7&r2=1.54.2.7.2.1&diff_format=u
Index: php-src/ext/mysqli/php_mysqli.h
diff -u php-src/ext/mysqli/php_mysqli.h:1.54.2.7
php-src/ext/mysqli/php_mysqli.h:1.54.2.7.2.1
--- php-src/ext/mysqli/php_mysqli.h:1.54.2.7 Wed Apr 5 12:17:08 2006
+++ php-src/ext/mysqli/php_mysqli.h Mon May 8 16:19:43 2006
@@ -15,7 +15,7 @@
| Author: Georg Richter <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: php_mysqli.h,v 1.54.2.7 2006/04/05 12:17:08 georg Exp $
+ $Id: php_mysqli.h,v 1.54.2.7.2.1 2006/05/08 16:19:43 georg Exp $
*/
/* A little hack to prevent build break, when mysql is used together with
@@ -161,12 +161,12 @@
extern int php_local_infile_error(void *, char *, uint);
extern void php_set_local_infile_handler_default(MY_MYSQL *);
extern void php_mysqli_throw_sql_exception(char *sqlstate, int errorno
TSRMLS_DC, char *format, ...);
-zend_class_entry *mysqli_link_class_entry;
-zend_class_entry *mysqli_stmt_class_entry;
-zend_class_entry *mysqli_result_class_entry;
-zend_class_entry *mysqli_driver_class_entry;
-zend_class_entry *mysqli_warning_class_entry;
-zend_class_entry *mysqli_exception_class_entry;
+extern zend_class_entry *mysqli_link_class_entry;
+extern zend_class_entry *mysqli_stmt_class_entry;
+extern zend_class_entry *mysqli_result_class_entry;
+extern zend_class_entry *mysqli_driver_class_entry;
+extern zend_class_entry *mysqli_warning_class_entry;
+extern zend_class_entry *mysqli_exception_class_entry;
#ifdef HAVE_SPL
extern PHPAPI zend_class_entry *spl_ce_RuntimeException;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php