This commit is contained in:
Marcus Boerger 2004-02-11 23:36:25 +00:00
parent 2a8426a664
commit 7258bff325

View File

@ -144,13 +144,11 @@ static zend_function_entry spl_funcs_SimpleXMLIterator[] = {
}; };
/* }}} */ /* }}} */
#define SimpleXML_Element sxe_get_element_class_entry()
SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */ SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */
{ {
zend_class_entry *spl_ce_SimpleXML_Element = sxe_get_element_class_entry(); 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 */ return SUCCESS; /* SimpleXML must be initialized before */
} }