helly Sun Jan 18 08:19:41 2004 EDT
Modified files:
/php-src/ext/simplexml php_simplexml.h simplexml.c
Log:
Export access to class_entry by function.
Index: php-src/ext/simplexml/php_simplexml.h
diff -u php-src/ext/simplexml/php_simplexml.h:1.14
php-src/ext/simplexml/php_simplexml.h:1.15
--- php-src/ext/simplexml/php_simplexml.h:1.14 Sat Jan 17 16:22:26 2004
+++ php-src/ext/simplexml/php_simplexml.h Sun Jan 18 08:19:41 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_simplexml.h,v 1.14 2004/01/17 21:22:26 sterling Exp $ */
+/* $Id: php_simplexml.h,v 1.15 2004/01/18 13:19:41 helly Exp $ */
#ifndef PHP_SIMPLEXML_H
#define PHP_SIMPLEXML_H
@@ -80,6 +80,8 @@
#define SIMPLEXML_G(v) (simplexml_globals.v)
#endif
+PHP_API zend_class_entry *sxe_get_element_class_entry();
+
#endif
/*
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.111 php-src/ext/simplexml/simplexml.c:1.112
--- php-src/ext/simplexml/simplexml.c:1.111 Sat Jan 17 16:22:26 2004
+++ php-src/ext/simplexml/simplexml.c Sun Jan 18 08:19:41 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: simplexml.c,v 1.111 2004/01/17 21:22:26 sterling Exp $ */
+/* $Id: simplexml.c,v 1.112 2004/01/18 13:19:41 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -34,7 +34,12 @@
#include "zend_default_classes.h"
#include "zend_interfaces.h"
-zend_class_entry *sxe_class_entry;
+zend_class_entry *sxe_class_entry = NULL;
+
+PHP_API zend_class_entry *sxe_get_element_class_entry()
+{
+ return sxe_class_entry;
+}
#define SXE_ME(func, arg_info, flags) PHP_ME(simplexml_element, func, arg_info, flags)
@@ -1490,7 +1495,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.111 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.112 $");
php_info_print_table_row(2, "Schema support",
#ifdef LIBXML_SCHEMAS_ENABLED
"enabled");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php