Permalink
Browse files

- Make usage of new PHP_FE_END macro

  • Loading branch information...
felipensp committed Jul 25, 2011
1 parent f8a3334 commit da376383e847f9f2a09955a4e9f5ae0371f26131
Showing with 174 additions and 176 deletions.
  1. +1 −1 ext/bcmath/bcmath.c
  2. +1 −1 ext/bz2/bz2.c
  3. +1 −1 ext/calendar/calendar.c
  4. +1 −1 ext/com_dotnet/com_extension.c
  5. +1 −1 ext/com_dotnet/com_persist.c
  6. +1 −1 ext/ctype/ctype.c
  7. +1 −1 ext/curl/interface.c
  8. +5 −5 ext/date/php_date.c
  9. +1 −1 ext/dba/dba.c
  10. +1 −1 ext/dom/attr.c
  11. +1 −1 ext/dom/cdatasection.c
  12. +1 −1 ext/dom/characterdata.c
  13. +1 −1 ext/dom/document.c
  14. +1 −1 ext/dom/documentfragment.c
  15. +1 −1 ext/dom/documenttype.c
  16. +1 −1 ext/dom/domconfiguration.c
  17. +1 −1 ext/dom/domerror.c
  18. +1 −1 ext/dom/domerrorhandler.c
  19. +1 −1 ext/dom/domexception.c
  20. +1 −1 ext/dom/domimplementation.c
  21. +1 −1 ext/dom/domimplementationsource.c
  22. +1 −1 ext/dom/domlocator.c
  23. +1 −1 ext/dom/domstringlist.c
  24. +1 −1 ext/dom/element.c
  25. +1 −1 ext/dom/entity.c
  26. +1 −1 ext/dom/entityreference.c
  27. +1 −1 ext/dom/namednodemap.c
  28. +1 −1 ext/dom/namelist.c
  29. +1 −1 ext/dom/node.c
  30. +1 −1 ext/dom/nodelist.c
  31. +1 −1 ext/dom/notation.c
  32. +1 −1 ext/dom/php_dom.c
  33. +1 −1 ext/dom/processinginstruction.c
  34. +1 −1 ext/dom/string_extend.c
  35. +1 −1 ext/dom/text.c
  36. +1 −1 ext/dom/typeinfo.c
  37. +1 −1 ext/dom/userdatahandler.c
  38. +1 −1 ext/dom/xpath.c
  39. +1 −2 ext/enchant/enchant.c
  40. +1 −1 ext/ereg/ereg.c
  41. +1 −1 ext/exif/exif.c
  42. +1 −1 ext/fileinfo/fileinfo.c
  43. +1 −1 ext/filter/filter.c
  44. +1 −1 ext/ftp/php_ftp.c
  45. +1 −1 ext/gd/gd.c
  46. +1 −1 ext/gettext/gettext.c
  47. +1 −1 ext/gmp/gmp.c
  48. +1 −1 ext/hash/hash.c
  49. +1 −1 ext/iconv/iconv.c
  50. +1 −1 ext/imap/php_imap.c
  51. +1 −1 ext/interbase/interbase.c
  52. +1 −1 ext/intl/php_intl.c
  53. +1 −1 ext/json/json.c
  54. +1 −1 ext/ldap/ldap.c
  55. +1 −1 ext/libxml/libxml.c
  56. +1 −1 ext/mbstring/mbstring.c
  57. +1 −1 ext/mcrypt/mcrypt.c
  58. +1 −1 ext/mssql/php_mssql.c
  59. +1 −1 ext/mysql/php_mysql.c
  60. +1 −1 ext/mysqli/mysqli_fe.c
  61. +1 −1 ext/mysqlnd/php_mysqlnd.c
  62. +3 −3 ext/oci8/oci8.c
  63. +1 −1 ext/odbc/php_odbc.c
  64. +1 −1 ext/openssl/openssl.c
  65. +1 −1 ext/pcntl/pcntl.c
  66. +1 −1 ext/pcre/php_pcre.c
  67. +1 −1 ext/pdo/pdo.c
  68. +1 −1 ext/pdo_dblib/pdo_dblib.c
  69. +1 −1 ext/pdo_firebird/pdo_firebird.c
  70. +1 −1 ext/pdo_mysql/pdo_mysql.c
  71. +1 −1 ext/pdo_oci/pdo_oci.c
  72. +1 −1 ext/pdo_odbc/pdo_odbc.c
  73. +1 −1 ext/pdo_pgsql/pgsql_driver.c
  74. +1 −1 ext/pdo_sqlite/pdo_sqlite.c
  75. +1 −1 ext/pdo_sqlite/sqlite_driver.c
  76. +1 −1 ext/pgsql/pgsql.c
  77. +1 −1 ext/phar/phar.c
  78. +3 −3 ext/phar/phar_object.c
  79. +1 −1 ext/posix/posix.c
  80. +1 −1 ext/pspell/pspell.c
  81. +1 −1 ext/readline/readline.c
  82. +1 −1 ext/recode/recode.c
  83. +13 −13 ext/reflection/php_reflection.c
  84. +1 −1 ext/session/session.c
  85. +1 −1 ext/shmop/shmop.c
  86. +2 −2 ext/simplexml/simplexml.c
  87. +1 −1 ext/skeleton/skeleton.c
  88. +2 −2 ext/snmp/snmp.c
  89. +7 −7 ext/soap/soap.c
  90. +1 −1 ext/sockets/sockets.c
  91. +2 −2 ext/spl/php_spl.c
  92. +3 −3 ext/spl/spl_array.c
  93. +7 −7 ext/spl/spl_directory.c
  94. +2 −2 ext/spl/spl_dllist.c
  95. +1 −1 ext/spl/spl_fixedarray.c
  96. +21 −21 ext/spl/spl_iterators.c
  97. +3 −3 ext/sqlite3/sqlite3.c
  98. +1 −1 ext/standard/basic_functions.c
  99. +1 −1 ext/sybase_ct/php_sybase_ct.c
  100. +1 −1 ext/sysvmsg/sysvmsg.c
  101. +1 −1 ext/sysvsem/sysvsem.c
  102. +1 −1 ext/sysvshm/sysvshm.c
  103. +3 −3 ext/tidy/tidy.c
  104. +1 −1 ext/tokenizer/tokenizer.c
  105. +1 −1 ext/wddx/wddx.c
  106. +1 −1 ext/xml/xml.c
  107. +1 −1 ext/xmlreader/php_xmlreader.c
  108. +1 −1 ext/xmlrpc/xmlrpc-epi-php.c
  109. +1 −1 ext/xmlwriter/php_xmlwriter.c
  110. +1 −1 ext/xsl/php_xsl.c
  111. +1 −2 ext/zip/php_zip.c
  112. +1 −1 ext/zlib/zlib.c
View
@@ -106,7 +106,7 @@ const zend_function_entry bcmath_functions[] = {
PHP_FE(bcscale, arginfo_bcscale)
PHP_FE(bccomp, arginfo_bccomp)
PHP_FE(bcpowmod, arginfo_bcpowmod)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
zend_module_entry bcmath_module_entry = {
View
@@ -107,7 +107,7 @@ static const zend_function_entry bz2_functions[] = {
PHP_FE(bzerror, arginfo_bzerror)
PHP_FE(bzcompress, arginfo_bzcompress)
PHP_FE(bzdecompress, arginfo_bzdecompress)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
zend_module_entry bz2_module_entry = {
View
@@ -148,7 +148,7 @@ const zend_function_entry calendar_functions[] = {
PHP_FE(cal_from_jd, arginfo_cal_from_jd)
PHP_FE(cal_days_in_month, arginfo_cal_days_in_month)
PHP_FE(cal_info, arginfo_cal_info)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
@@ -228,7 +228,7 @@ const zend_function_entry com_dotnet_functions[] = {
PHP_FE(com_message_pump, arginfo_com_message_pump)
PHP_FE(com_load_typelib, arginfo_com_load_typelib)
PHP_FE(com_get_active_object, arginfo_com_get_active_object)
- { NULL, NULL, NULL }
+ PHP_FE_END
};
/* {{{ com_dotnet_module_entry
@@ -685,7 +685,7 @@ static const zend_function_entry com_persist_helper_methods[] = {
CPH_ME(InitNew, NULL)
CPH_ME(LoadFromStream, NULL)
CPH_ME(SaveToStream, NULL)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
static void helper_free_storage(void *obj TSRMLS_DC)
View
@@ -106,7 +106,7 @@ static const zend_function_entry ctype_functions[] = {
PHP_FE(ctype_space, arginfo_ctype_space)
PHP_FE(ctype_upper, arginfo_ctype_upper)
PHP_FE(ctype_xdigit, arginfo_ctype_xdigit)
- {NULL, NULL, NULL} /* Must be the last line in ctype_functions[] */
+ PHP_FE_END
};
/* }}} */
View
@@ -305,7 +305,7 @@ const zend_function_entry curl_functions[] = {
PHP_FE(curl_multi_getcontent, arginfo_curl_multi_getcontent)
PHP_FE(curl_multi_info_read, arginfo_curl_multi_info_read)
PHP_FE(curl_multi_close, arginfo_curl_multi_close)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
View
@@ -425,7 +425,7 @@ const zend_function_entry date_functions[] = {
PHP_FE(date_sunrise, arginfo_date_sunrise)
PHP_FE(date_sunset, arginfo_date_sunset)
PHP_FE(date_sun_info, arginfo_date_sun_info)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
const zend_function_entry date_funcs_date[] = {
@@ -447,7 +447,7 @@ const zend_function_entry date_funcs_date[] = {
PHP_ME_MAPPING(setTimestamp, date_timestamp_set, arginfo_date_method_timestamp_set, 0)
PHP_ME_MAPPING(getTimestamp, date_timestamp_get, arginfo_date_method_timestamp_get, 0)
PHP_ME_MAPPING(diff, date_diff, arginfo_date_method_diff, 0)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
const zend_function_entry date_funcs_timezone[] = {
@@ -458,19 +458,19 @@ const zend_function_entry date_funcs_timezone[] = {
PHP_ME_MAPPING(getLocation, timezone_location_get, arginfo_timezone_method_location_get, 0)
PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, arginfo_timezone_abbreviations_list, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME_MAPPING(listIdentifiers, timezone_identifiers_list, arginfo_timezone_identifiers_list, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
const zend_function_entry date_funcs_interval[] = {
PHP_ME(DateInterval, __construct, arginfo_date_interval_construct, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC)
PHP_ME_MAPPING(format, date_interval_format, arginfo_date_method_interval_format, 0)
PHP_ME_MAPPING(createFromDateString, date_interval_create_from_date_string, arginfo_date_interval_create_from_date_string, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
const zend_function_entry date_funcs_period[] = {
PHP_ME(DatePeriod, __construct, arginfo_date_period_construct, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC);
View
@@ -146,7 +146,7 @@ const zend_function_entry dba_functions[] = {
PHP_FE(dba_handlers, arginfo_dba_handlers)
PHP_FE(dba_list, arginfo_dba_list)
PHP_FE(dba_key_split, arginfo_dba_key_split)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
View
@@ -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]); */
View
@@ -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); */
View
@@ -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
View
@@ -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
};
/* }}} */
@@ -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(); */
View
@@ -35,7 +35,7 @@
*/
const zend_function_entry php_dom_documenttype_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ name string
@@ -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 */
View
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_domerror_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
@@ -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 */
View
@@ -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) /* {{{ */
@@ -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);
@@ -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 */
View
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_domlocator_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
View
@@ -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 */
View
@@ -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
};
/* }}} */
View
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_entity_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ publicId string
@@ -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); */
View
@@ -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
};
/* }}} */
View
@@ -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
View
@@ -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
};
/* }}} */
View
@@ -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
View
@@ -35,7 +35,7 @@
*/
const zend_function_entry php_dom_notation_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
View
@@ -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) {
@@ -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]); */
View
@@ -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 */
View
@@ -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]); */
View
@@ -36,7 +36,7 @@
*/
const zend_function_entry php_dom_typeinfo_class_functions[] = {
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* {{{ attribute protos, not implemented yet */
@@ -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 */
View
@@ -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
};
View
@@ -146,8 +146,7 @@ zend_function_entry enchant_functions[] = {
PHP_FE(enchant_dict_get_error, arginfo_enchant_broker_free_dict)
PHP_FE(enchant_dict_describe, arginfo_enchant_broker_free_dict)
PHP_FE(enchant_dict_quick_check, arginfo_enchant_dict_quick_check)
-
- {NULL, NULL, NULL} /* Must be the last line in enchant_functions[] */
+ PHP_FE_END
};
/* }}} */
View
@@ -59,7 +59,7 @@ const zend_function_entry ereg_functions[] = {
PHP_DEP_FE(split, arginfo_split)
PHP_DEP_FE(spliti, arginfo_split)
PHP_DEP_FE(sql_regcase, arginfo_sql_regcase)
- {NULL, NULL, NULL}
+ PHP_FE_END
};
/* }}} */
Oops, something went wrong.

0 comments on commit da37638

Please sign in to comment.