cvs: /php4/ext/domxml domxml.c

From: Date: Thu, 02 Mar 2000 18:56:37 +0000
Subject: cvs: /php4/ext/domxml domxml.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-11377@lists.php.net to get a copy of this message
steinm Thu Mar 2 10:56:37 2000 EDT Modified files: /php4/ext/domxml domxml.c Log: - some minor changes, cleanups Index: php4/ext/domxml/domxml.c diff -u php4/ext/domxml/domxml.c:1.23 php4/ext/domxml/domxml.c:1.24 --- php4/ext/domxml/domxml.c:1.23 Thu Mar 2 08:58:06 2000 +++ php4/ext/domxml/domxml.c Thu Mar 2 10:56:06 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: domxml.c,v 1.23 2000/03/02 16:58:06 steinm Exp $ */ +/* $Id: domxml.c,v 1.24 2000/03/02 18:56:06 steinm Exp $ */ #include "php.h" @@ -93,7 +93,9 @@ {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 @@ 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 @@ return SUCCESS; } -#ifdef kk +#ifdef newcode /* {{{ Node Class */ pval domxmltestnode_class_get_property(zend_property_reference *property_reference) { @@ -307,7 +311,7 @@ PHP_MINFO_FUNCTION(domxml) { PUTS("DOM/XML support active (compiled with libxml "); - PUTS(XML_DEFAULT_VERSION); +// php_printf("%s", LIBXML_VERSION); PUTS(".)"); }

« previous php.version4 (#11377) next »