cvs: php4 /ext/domxml php_domxml.c
| From: | Christian Stocker | Date: | Tue, 25 Jun 2002 09:46:21 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12514@lists.php.net to get a copy of this message | ||
chregu Tue Jun 25 05:46:21 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c
Log:
should compile on windows again
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.175 php4/ext/domxml/php_domxml.c:1.176
--- php4/ext/domxml/php_domxml.c:1.175 Thu Jun 20 01:48:45 2002
+++ php4/ext/domxml/php_domxml.c Tue Jun 25 05:46:15 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.175 2002/06/20 05:48:45 steinm Exp $ */
+/* $Id: php_domxml.c,v 1.176 2002/06/25 09:46:15 chregu Exp $ */
/* TODO
* - Support Notation Nodes
@@ -196,11 +196,15 @@
static int node_attributes(zval **attributes, xmlNode *nodep TSRMLS_DC);
static int node_children(zval **children, xmlNode *nodep TSRMLS_DC);
+static unsigned char first_args_force_ref[] = { 1, BYREF_FORCE };
+static unsigned char second_args_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE };
+static unsigned char third_args_force_ref[] = { 3, BYREF_NONE, BYREF_NONE, BYREF_FORCE };
+
static zend_function_entry domxml_functions[] = {
PHP_FE(domxml_version, NULL)
- PHP_FE(xmldoc, third_arg_force_ref)
+ PHP_FE(xmldoc, third_args_force_ref)
PHP_FALIAS(domxml_open_mem, xmldoc, NULL)
- PHP_FE(xmldocfile, third_arg_force_ref)
+ PHP_FE(xmldocfile, third_args_force_ref)
PHP_FALIAS(domxml_open_file, xmldocfile, NULL)
#if defined(LIBXML_HTML_ENABLED)
PHP_FE(html_doc, NULL)
@@ -279,7 +283,7 @@
PHP_FALIAS(set_content, domxml_node_set_content, NULL)
PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL)
PHP_FALIAS(domxml_dumpmem, domxml_dump_mem, NULL)
- PHP_FE(domxml_doc_validate, second_arg_force_ref)
+ PHP_FE(domxml_doc_validate, second_args_force_ref)
{NULL, NULL, NULL}
};
@@ -320,7 +324,7 @@
PHP_FALIAS(xpath_new_context, xpath_new_context, NULL)
PHP_FALIAS(xptr_new_context, xptr_new_context, NULL)
#endif
- PHP_FALIAS(validate, domxml_doc_validate, first_arg_force_ref)
+ PHP_FALIAS(validate, domxml_doc_validate, first_args_force_ref)
{NULL, NULL, NULL}
};