- some minor changes, cleanups

This commit is contained in:
Uwe Steinmann 2000-03-02 18:56:06 +00:00
parent 2552876786
commit 11c654bbcd

View File

@ -93,7 +93,9 @@ static zend_function_entry php_domxmlns_class_functions[] = {
{NULL, NULL, NULL} {NULL, NULL, NULL}
}; };
//void domxmltestnode_class_startup(); #ifdef newcode
void domxmltestnode_class_startup();
#endif
zend_module_entry php_domxml_module_entry = { zend_module_entry php_domxml_module_entry = {
"DOM", php_domxml_functions, PHP_MINIT(domxml), NULL, NULL, NULL, PHP_MINFO(domxml), STANDARD_MODULE_PROPERTIES "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 domxmlattr_class_entry;
zend_class_entry domxmlns_class_entry; zend_class_entry domxmlns_class_entry;
// domxmltestnode_class_startup(); #ifdef newcode
domxmltestnode_class_startup();
#endif
le_domxmldocp = register_list_destructors(xmlFreeDoc, NULL); le_domxmldocp = register_list_destructors(xmlFreeDoc, NULL);
/* Freeing the document contains freeing the complete tree. /* Freeing the document contains freeing the complete tree.
@ -150,7 +154,7 @@ PHP_MINIT_FUNCTION(domxml)
return SUCCESS; return SUCCESS;
} }
#ifdef kk #ifdef newcode
/* {{{ Node Class */ /* {{{ Node Class */
pval domxmltestnode_class_get_property(zend_property_reference *property_reference) pval domxmltestnode_class_get_property(zend_property_reference *property_reference)
{ {
@ -307,7 +311,7 @@ PHP_FUNCTION(domxml_test)
PHP_MINFO_FUNCTION(domxml) PHP_MINFO_FUNCTION(domxml)
{ {
PUTS("DOM/XML support active (compiled with libxml "); PUTS("DOM/XML support active (compiled with libxml ");
PUTS(XML_DEFAULT_VERSION); // php_printf("%s", LIBXML_VERSION);
PUTS(".)"); PUTS(".)");
} }