summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-07-25 11:35:02 +0000
committerFelipe Pena <felipe@php.net>2011-07-25 11:35:02 +0000
commitda376383e847f9f2a09955a4e9f5ae0371f26131 (patch)
tree23d75e1dd870e5bee276f9f9ae7b675929d7bbb8 /ext/dom
parentf8a3334c89defdff21e4e658d2fd531d540cf231 (diff)
downloadphp-git-da376383e847f9f2a09955a4e9f5ae0371f26131.tar.gz
- Make usage of new PHP_FE_END macro
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/attr.c2
-rw-r--r--ext/dom/cdatasection.c2
-rw-r--r--ext/dom/characterdata.c2
-rw-r--r--ext/dom/document.c2
-rw-r--r--ext/dom/documentfragment.c2
-rw-r--r--ext/dom/documenttype.c2
-rw-r--r--ext/dom/domconfiguration.c2
-rw-r--r--ext/dom/domerror.c2
-rw-r--r--ext/dom/domerrorhandler.c2
-rw-r--r--ext/dom/domexception.c2
-rw-r--r--ext/dom/domimplementation.c2
-rw-r--r--ext/dom/domimplementationsource.c2
-rw-r--r--ext/dom/domlocator.c2
-rw-r--r--ext/dom/domstringlist.c2
-rw-r--r--ext/dom/element.c2
-rw-r--r--ext/dom/entity.c2
-rw-r--r--ext/dom/entityreference.c2
-rw-r--r--ext/dom/namednodemap.c2
-rw-r--r--ext/dom/namelist.c2
-rw-r--r--ext/dom/node.c2
-rw-r--r--ext/dom/nodelist.c2
-rw-r--r--ext/dom/notation.c2
-rw-r--r--ext/dom/php_dom.c2
-rw-r--r--ext/dom/processinginstruction.c2
-rw-r--r--ext/dom/string_extend.c2
-rw-r--r--ext/dom/text.c2
-rw-r--r--ext/dom/typeinfo.c2
-rw-r--r--ext/dom/userdatahandler.c2
-rw-r--r--ext/dom/xpath.c2
29 files changed, 29 insertions, 29 deletions
diff --git a/ext/dom/attr.c b/ext/dom/attr.c
index cfa249cacb..63978779f6 100644
--- a/ext/dom/attr.c
+++ b/ext/dom/attr.c
@@ -49,7 +49,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_attr_class_functions[] = {
PHP_FALIAS(isId, dom_attr_is_id, arginfo_dom_attr_is_id)
PHP_ME(domattr, __construct, arginfo_dom_attr_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMAttr::__construct(string name, [string value]); */
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c
index a9642c4768..bb133fef87 100644
--- a/ext/dom/cdatasection.c
+++ b/ext/dom/cdatasection.c
@@ -43,7 +43,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_cdatasection_class_functions[] = {
PHP_ME(domcdatasection, __construct, arginfo_dom_cdatasection_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMCdataSection::__construct(string value); */
diff --git a/ext/dom/characterdata.c b/ext/dom/characterdata.c
index f56c39c8e7..98bb5a0785 100644
--- a/ext/dom/characterdata.c
+++ b/ext/dom/characterdata.c
@@ -68,7 +68,7 @@ const zend_function_entry php_dom_characterdata_class_functions[] = {
PHP_FALIAS(insertData, dom_characterdata_insert_data, arginfo_dom_characterdata_insert_data)
PHP_FALIAS(deleteData, dom_characterdata_delete_data, arginfo_dom_characterdata_delete_data)
PHP_FALIAS(replaceData, dom_characterdata_replace_data, arginfo_dom_characterdata_replace_data)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ data string
diff --git a/ext/dom/document.c b/ext/dom/document.c
index 2b11e7f1c4..b5402472b7 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -231,7 +231,7 @@ const zend_function_entry php_dom_document_class_functions[] = { /* {{{ */
PHP_FALIAS(relaxNGValidateSource, dom_document_relaxNG_validate_xml, arginfo_dom_document_relaxNG_validate_xml)
#endif
PHP_ME(domdocument, registerNodeClass, arginfo_dom_document_registernodeclass, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
diff --git a/ext/dom/documentfragment.c b/ext/dom/documentfragment.c
index 2e88b726de..da01cd9aa6 100644
--- a/ext/dom/documentfragment.c
+++ b/ext/dom/documentfragment.c
@@ -46,7 +46,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_documentfragment_class_functions[] = {
PHP_ME(domdocumentfragment, __construct, arginfo_dom_documentfragement_construct, ZEND_ACC_PUBLIC)
PHP_ME(domdocumentfragment, appendXML, arginfo_dom_documentfragement_appendXML, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMDocumentFragment::__construct(); */
diff --git a/ext/dom/documenttype.c b/ext/dom/documenttype.c
index a83c7eac17..69b21c3c82 100644
--- a/ext/dom/documenttype.c
+++ b/ext/dom/documenttype.c
@@ -35,7 +35,7 @@
*/
const zend_function_entry php_dom_documenttype_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ name string
diff --git a/ext/dom/domconfiguration.c b/ext/dom/domconfiguration.c
index 1ad57fe65e..76f18da046 100644
--- a/ext/dom/domconfiguration.c
+++ b/ext/dom/domconfiguration.c
@@ -54,7 +54,7 @@ const zend_function_entry php_dom_domconfiguration_class_functions[] = {
PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, arginfo_dom_configuration_set_parameter)
PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, arginfo_dom_configuration_get_parameter)
PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, arginfo_dom_configuration_can_set_parameter)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/domerror.c b/ext/dom/domerror.c
index 414defe484..0f5f3f7d90 100644
--- a/ext/dom/domerror.c
+++ b/ext/dom/domerror.c
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_domerror_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/domerrorhandler.c b/ext/dom/domerrorhandler.c
index 4df9e35161..9fcc4e9eaa 100644
--- a/ext/dom/domerrorhandler.c
+++ b/ext/dom/domerrorhandler.c
@@ -42,7 +42,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_domerrorhandler_class_functions[] = {
PHP_FALIAS(handleError, dom_domerrorhandler_handle_error, arginfo_dom_domerrorhandler_handle_error)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/domexception.c b/ext/dom/domexception.c
index 8046873bb0..5477e34ef3 100644
--- a/ext/dom/domexception.c
+++ b/ext/dom/domexception.c
@@ -37,7 +37,7 @@
extern zend_class_entry *dom_domexception_class_entry;
const zend_function_entry php_dom_domexception_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) /* {{{ */
diff --git a/ext/dom/domimplementation.c b/ext/dom/domimplementation.c
index c931dc5ede..c7ad1d7bb7 100644
--- a/ext/dom/domimplementation.c
+++ b/ext/dom/domimplementation.c
@@ -61,7 +61,7 @@ const zend_function_entry php_dom_domimplementation_class_functions[] = {
PHP_ME(domimplementation, hasFeature, arginfo_dom_implementation_has_feature, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_ME(domimplementation, createDocumentType, arginfo_dom_implementation_create_documenttype, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_ME(domimplementation, createDocument, arginfo_dom_implementation_create_document, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto boolean dom_domimplementation_has_feature(string feature, string version);
diff --git a/ext/dom/domimplementationsource.c b/ext/dom/domimplementationsource.c
index 0fc33a2ed7..e7638834c6 100644
--- a/ext/dom/domimplementationsource.c
+++ b/ext/dom/domimplementationsource.c
@@ -48,7 +48,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_domimplementationsource_class_functions[] = {
PHP_FALIAS(getDomimplementation, dom_domimplementationsource_get_domimplementation, arginfo_dom_implementationsource_getdomimplementation)
PHP_FALIAS(getDomimplementations, dom_domimplementationsource_get_domimplementations, arginfo_dom_implementationsource_getdomimplementations)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/domlocator.c b/ext/dom/domlocator.c
index b31a4564a9..f2c92bebdf 100644
--- a/ext/dom/domlocator.c
+++ b/ext/dom/domlocator.c
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_domlocator_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/domstringlist.c b/ext/dom/domstringlist.c
index 0791ec8d8e..f00d5ff44e 100644
--- a/ext/dom/domstringlist.c
+++ b/ext/dom/domstringlist.c
@@ -42,7 +42,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_domstringlist_class_functions[] = {
PHP_FALIAS(item, dom_domstringlist_item, arginfo_dom_stringlist_item)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/element.c b/ext/dom/element.c
index 5a7d007e23..66ad2af163 100644
--- a/ext/dom/element.c
+++ b/ext/dom/element.c
@@ -146,7 +146,7 @@ const zend_function_entry php_dom_element_class_functions[] = { /* {{{ */
PHP_FALIAS(setIdAttributeNS, dom_element_set_id_attribute_ns, arginfo_dom_element_set_id_attribute_ns)
PHP_FALIAS(setIdAttributeNode, dom_element_set_id_attribute_node, arginfo_dom_element_set_id_attribute_node)
PHP_ME(domelement, __construct, arginfo_dom_element_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
diff --git a/ext/dom/entity.c b/ext/dom/entity.c
index 71eeacf924..5b7151e5b3 100644
--- a/ext/dom/entity.c
+++ b/ext/dom/entity.c
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_entity_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ publicId string
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c
index b9404ba1cd..daabf41ea5 100644
--- a/ext/dom/entityreference.c
+++ b/ext/dom/entityreference.c
@@ -42,7 +42,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_entityreference_class_functions[] = {
PHP_ME(domentityreference, __construct, arginfo_dom_entityreference_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMEntityReference::__construct(string name); */
diff --git a/ext/dom/namednodemap.c b/ext/dom/namednodemap.c
index d259963e2f..963371a8e5 100644
--- a/ext/dom/namednodemap.c
+++ b/ext/dom/namednodemap.c
@@ -74,7 +74,7 @@ const zend_function_entry php_dom_namednodemap_class_functions[] = { /* {{{ */
PHP_FALIAS(getNamedItemNS, dom_namednodemap_get_named_item_ns, arginfo_dom_namednodemap_get_named_item_ns)
PHP_FALIAS(setNamedItemNS, dom_namednodemap_set_named_item_ns, arginfo_dom_namednodemap_set_named_item_ns)
PHP_FALIAS(removeNamedItemNS, dom_namednodemap_remove_named_item_ns, arginfo_dom_namednodemap_remove_named_item_ns)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
diff --git a/ext/dom/namelist.c b/ext/dom/namelist.c
index 2d2bc69ee6..fb454a783a 100644
--- a/ext/dom/namelist.c
+++ b/ext/dom/namelist.c
@@ -47,7 +47,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_namelist_class_functions[] = {
PHP_FALIAS(getName, dom_namelist_get_name, arginfo_dom_namelist_get_name)
PHP_FALIAS(getNamespaceURI, dom_namelist_get_namespace_uri, arginfo_dom_namelist_get_namespace_uri)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ length int
diff --git a/ext/dom/node.c b/ext/dom/node.c
index 17040521e1..839c797bb6 100644
--- a/ext/dom/node.c
+++ b/ext/dom/node.c
@@ -155,7 +155,7 @@ const zend_function_entry php_dom_node_class_functions[] = { /* {{{ */
PHP_ME(domnode, getLineNo, arginfo_dom_node_getLineNo, ZEND_ACC_PUBLIC)
PHP_ME(domnode, C14N, arginfo_dom_node_C14N, ZEND_ACC_PUBLIC)
PHP_ME(domnode, C14NFile, arginfo_dom_node_C14NFile, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index 2baeea29d9..f7d7d15450 100644
--- a/ext/dom/nodelist.c
+++ b/ext/dom/nodelist.c
@@ -43,7 +43,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_nodelist_class_functions[] = {
PHP_FALIAS(item, dom_nodelist_item, arginfo_dom_nodelist_item)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ length int
diff --git a/ext/dom/notation.c b/ext/dom/notation.c
index d1b93eb8db..bb3c12f28f 100644
--- a/ext/dom/notation.c
+++ b/ext/dom/notation.c
@@ -35,7 +35,7 @@
*/
const zend_function_entry php_dom_notation_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index 69f13023a5..d92e9449de 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -543,7 +543,7 @@ ZEND_END_ARG_INFO()
static const zend_function_entry dom_functions[] = {
PHP_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
static zend_object_handlers* dom_get_obj_handlers(TSRMLS_D) {
diff --git a/ext/dom/processinginstruction.c b/ext/dom/processinginstruction.c
index 88ddb3692b..ac59518c59 100644
--- a/ext/dom/processinginstruction.c
+++ b/ext/dom/processinginstruction.c
@@ -44,7 +44,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_processinginstruction_class_functions[] = {
PHP_ME(domprocessinginstruction, __construct, arginfo_dom_processinginstruction_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMProcessingInstruction::__construct(string name, [string value]); */
diff --git a/ext/dom/string_extend.c b/ext/dom/string_extend.c
index 1cdc261f33..f2b4623dd3 100644
--- a/ext/dom/string_extend.c
+++ b/ext/dom/string_extend.c
@@ -47,7 +47,7 @@ ZEND_END_ARG_INFO();
const zend_function_entry php_dom_string_extend_class_functions[] = {
PHP_FALIAS(findOffset16, dom_string_extend_find_offset16, arginfo_dom_string_extend_find_offset16)
PHP_FALIAS(findOffset32, dom_string_extend_find_offset32, arginfo_dom_string_extend_find_offset32)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/text.c b/ext/dom/text.c
index d0e599b8f4..b418345cb0 100644
--- a/ext/dom/text.c
+++ b/ext/dom/text.c
@@ -58,7 +58,7 @@ const zend_function_entry php_dom_text_class_functions[] = {
PHP_FALIAS(isElementContentWhitespace, dom_text_is_whitespace_in_element_content, arginfo_dom_text_is_whitespace_in_element_content)
PHP_FALIAS(replaceWholeText, dom_text_replace_whole_text, arginfo_dom_text_replace_whole_text)
PHP_ME(domtext, __construct, arginfo_dom_text_construct, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ proto void DOMText::__construct([string value]); */
diff --git a/ext/dom/typeinfo.c b/ext/dom/typeinfo.c
index 275d9d71af..43dc4d1971 100644
--- a/ext/dom/typeinfo.c
+++ b/ext/dom/typeinfo.c
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_typeinfo_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/userdatahandler.c b/ext/dom/userdatahandler.c
index 4d6aa1eea5..08f11620f7 100644
--- a/ext/dom/userdatahandler.c
+++ b/ext/dom/userdatahandler.c
@@ -37,7 +37,7 @@
const zend_function_entry php_dom_userdatahandler_class_functions[] = {
PHP_FALIAS(handle, dom_userdatahandler_handle, NULL)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c
index 4999770667..ba2b972518 100644
--- a/ext/dom/xpath.c
+++ b/ext/dom/xpath.c
@@ -68,7 +68,7 @@ const zend_function_entry php_dom_xpath_class_functions[] = {
PHP_FALIAS(query, dom_xpath_query, arginfo_dom_xpath_query)
PHP_FALIAS(evaluate, dom_xpath_evaluate, arginfo_dom_xpath_evaluate)
PHP_FALIAS(registerPhpFunctions, dom_xpath_register_php_functions, arginfo_dom_xpath_register_php_functions)
- {NULL, NULL, NULL}
+ PHP_FE_END
};