helly Wed Feb 11 18:36:26 2004 EDT Modified files: /php-src/ext/spl spl_sxe.c Log: Cleanup http://cvs.php.net/diff.php/php-src/ext/spl/spl_sxe.c?r1=1.5&r2=1.6&ty=u Index: php-src/ext/spl/spl_sxe.c diff -u php-src/ext/spl/spl_sxe.c:1.5 php-src/ext/spl/spl_sxe.c:1.6 --- php-src/ext/spl/spl_sxe.c:1.5 Tue Jan 20 15:59:45 2004 +++ php-src/ext/spl/spl_sxe.c Wed Feb 11 18:36:25 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_sxe.c,v 1.5 2004/01/20 20:59:45 helly Exp $ */ +/* $Id: spl_sxe.c,v 1.6 2004/02/11 23:36:25 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -144,13 +144,11 @@ }; /* }}} */ -#define SimpleXML_Element sxe_get_element_class_entry() - SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ { zend_class_entry *spl_ce_SimpleXML_Element = sxe_get_element_class_entry(); - if (!sxe_get_element_class_entry()) { + if (!spl_ce_SimpleXML_Element) { return SUCCESS; /* SimpleXML must be initialized before */ }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php