From: Uwe Steinmann Date: Thu, 2 Mar 2000 18:56:06 +0000 (+0000) Subject: - some minor changes, cleanups X-Git-Tag: PHP-4.0-RC1~321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11c654bbcdfa22d70a7ffce905bd65708f15bddd;p=php - some minor changes, cleanups --- diff --git a/ext/domxml/domxml.c b/ext/domxml/domxml.c index 8c79818ce3..72b2e00c26 100644 --- a/ext/domxml/domxml.c +++ b/ext/domxml/domxml.c @@ -93,7 +93,9 @@ static zend_function_entry php_domxmlns_class_functions[] = { {NULL, NULL, NULL} }; -//void domxmltestnode_class_startup(); +#ifdef newcode +void domxmltestnode_class_startup(); +#endif zend_module_entry php_domxml_module_entry = { "DOM", php_domxml_functions, PHP_MINIT(domxml), NULL, NULL, NULL, PHP_MINFO(domxml), STANDARD_MODULE_PROPERTIES @@ -111,7 +113,9 @@ PHP_MINIT_FUNCTION(domxml) zend_class_entry domxmlattr_class_entry; zend_class_entry domxmlns_class_entry; -// domxmltestnode_class_startup(); +#ifdef newcode + domxmltestnode_class_startup(); +#endif le_domxmldocp = register_list_destructors(xmlFreeDoc, NULL); /* Freeing the document contains freeing the complete tree. @@ -150,7 +154,7 @@ PHP_MINIT_FUNCTION(domxml) return SUCCESS; } -#ifdef kk +#ifdef newcode /* {{{ Node Class */ pval domxmltestnode_class_get_property(zend_property_reference *property_reference) { @@ -307,7 +311,7 @@ PHP_FUNCTION(domxml_test) PHP_MINFO_FUNCTION(domxml) { PUTS("DOM/XML support active (compiled with libxml "); - PUTS(XML_DEFAULT_VERSION); +// php_printf("%s", LIBXML_VERSION); PUTS(".)"); }