summaryrefslogtreecommitdiff
path: root/ext/domxml/domxml.c
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2000-03-02 18:56:06 +0000
committerUwe Steinmann <steinm@php.net>2000-03-02 18:56:06 +0000
commit11c654bbcdfa22d70a7ffce905bd65708f15bddd (patch)
tree9dc3a40a9b621e5ad63fe6a76961e539a47e0344 /ext/domxml/domxml.c
parent2552876786f069c7c4979e579bf3b96d4af654a7 (diff)
downloadphp-git-11c654bbcdfa22d70a7ffce905bd65708f15bddd.tar.gz
- some minor changes, cleanups
Diffstat (limited to 'ext/domxml/domxml.c')
-rw-r--r--ext/domxml/domxml.c12
1 files changed, 8 insertions, 4 deletions
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(".)");
}