]> granicus.if.org Git - php/commitdiff
Group PHP_FE and PHP_FALIAS with their own kind.
authorJoey Smith <joey@php.net>
Tue, 14 Aug 2001 07:49:28 +0000 (07:49 +0000)
committerJoey Smith <joey@php.net>
Tue, 14 Aug 2001 07:49:28 +0000 (07:49 +0000)
ext/domxml/php_domxml.c

index 96fa1b4ba754541f7da01a14adb62c9dbd61bf9b..fe3efaf4e3440d933906369e5e90ecc4654ed012 100644 (file)
@@ -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}
 };