summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Smith <joey@php.net>2001-08-14 07:49:28 +0000
committerJoey Smith <joey@php.net>2001-08-14 07:49:28 +0000
commit14f05c17dd635a97f3e3669da2ef1292223feed9 (patch)
tree77a18e4f5fbc38495bbe0f2dc4cae549ff6c2c0e
parenta26110de2c1e0626ce01a13af51eaa8ece2f3909 (diff)
downloadphp-git-14f05c17dd635a97f3e3669da2ef1292223feed9.tar.gz
Group PHP_FE and PHP_FALIAS with their own kind.
-rw-r--r--ext/domxml/php_domxml.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 96fa1b4ba7..fe3efaf4e3 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -79,28 +79,18 @@ static zend_function_entry domxml_functions[] = {
PHP_FE(xmldoc, NULL)
PHP_FE(xmldocfile, NULL)
PHP_FE(xmltree, NULL)
- PHP_FALIAS(domxml_root, domxml_doc_document_element, NULL)
PHP_FE(domxml_add_root, NULL)
PHP_FE(domxml_dumpmem, NULL)
PHP_FE(domxml_node_attributes, NULL)
- PHP_FALIAS(domxml_attributes, domxml_node_attributes, NULL)
PHP_FE(domxml_elem_get_attribute, NULL)
- PHP_FALIAS(domxml_get_attribute, domxml_elem_get_attribute, NULL)
- PHP_FALIAS(domxml_getattr, domxml_elem_get_attribute, NULL)
PHP_FE(domxml_elem_set_attribute, NULL)
- PHP_FALIAS(domxml_set_attribute, domxml_elem_set_attribute, NULL)
- PHP_FALIAS(domxml_setattr, domxml_elem_set_attribute, NULL)
PHP_FE(domxml_node_children, NULL)
- PHP_FALIAS(domxml_children, domxml_node_children, NULL)
PHP_FE(domxml_node_new_child, NULL)
- PHP_FALIAS(domxml_new_child, domxml_node_new_child, NULL)
PHP_FE(domxml_node, NULL)
PHP_FE(domxml_node_unlink_node, NULL)
- PHP_FALIAS(domxml_unlink_node, domxml_node_unlink_node, NULL)
PHP_FE(domxml_node_set_content, NULL)
- PHP_FALIAS(set_content, domxml_node_set_content, NULL)
PHP_FE(domxml_new_xmldoc, NULL)
- PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL)
+
#if defined(LIBXML_XPATH_ENABLED)
PHP_FE(xpath_new_context, NULL)
PHP_FE(xpath_eval, NULL)
@@ -110,6 +100,18 @@ static zend_function_entry domxml_functions[] = {
PHP_FE(xptr_new_context, NULL)
PHP_FE(xptr_eval, NULL)
#endif
+
+ PHP_FALIAS(domxml_root, domxml_doc_document_element, NULL)
+ PHP_FALIAS(domxml_attributes, domxml_node_attributes, NULL)
+ PHP_FALIAS(domxml_get_attribute, domxml_elem_get_attribute, NULL)
+ PHP_FALIAS(domxml_getattr, domxml_elem_get_attribute, NULL)
+ PHP_FALIAS(domxml_set_attribute, domxml_elem_set_attribute, NULL)
+ PHP_FALIAS(domxml_setattr, domxml_elem_set_attribute, NULL)
+ PHP_FALIAS(domxml_children, domxml_node_children, NULL)
+ PHP_FALIAS(domxml_new_child, domxml_node_new_child, NULL)
+ PHP_FALIAS(domxml_unlink_node, domxml_node_unlink_node, NULL)
+ PHP_FALIAS(set_content, domxml_node_set_content, NULL)
+ PHP_FALIAS(new_xmldoc, domxml_new_xmldoc, NULL)
{NULL, NULL, NULL}
};