diff options
author | Christian Stocker <chregu@php.net> | 2002-06-25 09:46:15 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2002-06-25 09:46:15 +0000 |
commit | d68707a2c97860b4c2fb7214f2314908a6395399 (patch) | |
tree | 5d000ed1ea61e1ac86b0d8eaf38f8ca49a3f7277 /ext/domxml/php_domxml.c | |
parent | 15416d6797442b204b4ed7303244ec822c8ba07d (diff) | |
download | php-git-d68707a2c97860b4c2fb7214f2314908a6395399.tar.gz |
should compile on windows again
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index e31d301ef4..4ac4694823 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -196,11 +196,15 @@ zend_class_entry *domxsltstylesheet_class_entry; 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 @@ static zend_function_entry domxml_functions[] = { 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 @@ static function_entry php_domxmldoc_class_functions[] = { 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} }; |