helly Mon Oct 31 16:20:48 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/simplexml php_simplexml_exports.h simplexml.c Log: - Drop unnecessary exports to prevent forward BC problems http://cvs.php.net/diff.php/php-src/ext/simplexml/php_simplexml_exports.h?r1=1.3.2.1&r2=1.3.2.2&ty=u Index: php-src/ext/simplexml/php_simplexml_exports.h diff -u php-src/ext/simplexml/php_simplexml_exports.h:1.3.2.1 php-src/ext/simplexml/php_simplexml_exports.h:1.3.2.2 --- php-src/ext/simplexml/php_simplexml_exports.h:1.3.2.1 Mon Oct 3 12:05:08 2005 +++ php-src/ext/simplexml/php_simplexml_exports.h Mon Oct 31 16:20:44 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_simplexml_exports.h,v 1.3.2.1 2005/10/03 16:05:08 helly Exp $ */ +/* $Id: php_simplexml_exports.h,v 1.3.2.2 2005/10/31 21:20:44 helly Exp $ */ #ifndef PHP_SIMPLEXML_EXPORTS_H #define PHP_SIMPLEXML_EXPORTS_H @@ -49,9 +49,6 @@ } /* }}} */ -ZEND_API void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC); -ZEND_API void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC); - typedef struct { zend_object_iterator intern; php_sxe_object *sxe; http://cvs.php.net/diff.php/php-src/ext/simplexml/simplexml.c?r1=1.151.2.4&r2=1.151.2.5&ty=u Index: php-src/ext/simplexml/simplexml.c diff -u php-src/ext/simplexml/simplexml.c:1.151.2.4 php-src/ext/simplexml/simplexml.c:1.151.2.5 --- php-src/ext/simplexml/simplexml.c:1.151.2.4 Mon Oct 24 04:29:32 2005 +++ php-src/ext/simplexml/simplexml.c Mon Oct 31 16:20:44 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: simplexml.c,v 1.151.2.4 2005/10/24 08:29:32 helly Exp $ */ +/* $Id: simplexml.c,v 1.151.2.5 2005/10/31 21:20:44 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -51,6 +51,8 @@ static php_sxe_object* php_sxe_object_new(zend_class_entry *ce TSRMLS_DC); static zend_object_value php_sxe_register_object(php_sxe_object * TSRMLS_DC); +static void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC); +static void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC); /* {{{ _node_as_zval() */ @@ -1404,7 +1406,7 @@ php_sxe_iterator_rewind, }; -ZEND_API void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC) +static void php_sxe_reset_iterator(php_sxe_object *sxe TSRMLS_DC) { xmlNodePtr node; char *prefix; @@ -1519,7 +1521,7 @@ } -ZEND_API void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC) +static void php_sxe_move_forward_iterator(php_sxe_object *sxe TSRMLS_DC) { xmlNodePtr node = NULL; php_sxe_object *intern; @@ -1743,7 +1745,7 @@ { php_info_print_table_start(); php_info_print_table_header(2, "Simplexml support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.151.2.4 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.151.2.5 $"); 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