|
42 | 42 | #include "formatter/formatter_parse.h"
|
43 | 43 |
|
44 | 44 | #include "grapheme/grapheme.h"
|
| 45 | +#include "grapheme/grapheme_arginfo.h" |
45 | 46 |
|
46 | 47 | #include "msgformat/msgformat.h"
|
47 | 48 | #include "msgformat/msgformat_class.h"
|
@@ -209,36 +210,6 @@ ZEND_BEGIN_ARG_INFO_EX(decomposition_args, 0, 0, 1)
|
209 | 210 | ZEND_END_ARG_INFO();
|
210 | 211 | #endif
|
211 | 212 |
|
212 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_1_arg, 0, 0, 1) |
213 |
| - ZEND_ARG_INFO(0, string) |
214 |
| -ZEND_END_ARG_INFO() |
215 |
| - |
216 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_search_args, 0, 0, 2) |
217 |
| - ZEND_ARG_INFO(0, haystack) |
218 |
| - ZEND_ARG_INFO(0, needle) |
219 |
| - ZEND_ARG_INFO(0, offset) |
220 |
| -ZEND_END_ARG_INFO() |
221 |
| - |
222 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_substr_args, 0, 0, 2) |
223 |
| - ZEND_ARG_INFO(0, string) |
224 |
| - ZEND_ARG_INFO(0, start) |
225 |
| - ZEND_ARG_INFO(0, length) |
226 |
| -ZEND_END_ARG_INFO() |
227 |
| - |
228 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_strstr_args, 0, 0, 2) |
229 |
| - ZEND_ARG_INFO(0, haystack) |
230 |
| - ZEND_ARG_INFO(0, needle) |
231 |
| - ZEND_ARG_INFO(0, before_needle) |
232 |
| -ZEND_END_ARG_INFO() |
233 |
| - |
234 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_extract_args, 0, 0, 2) |
235 |
| - ZEND_ARG_INFO(0, arg1) |
236 |
| - ZEND_ARG_INFO(0, arg2) |
237 |
| - ZEND_ARG_INFO(0, arg3) |
238 |
| - ZEND_ARG_INFO(0, arg4) |
239 |
| - ZEND_ARG_INFO(1, arg5) /* 1 = pass by reference */ |
240 |
| -ZEND_END_ARG_INFO() |
241 |
| - |
242 | 213 | ZEND_BEGIN_ARG_INFO_EX(datefmt_parse_args, 0, 0, 2)
|
243 | 214 | ZEND_ARG_INFO(0, formatter)
|
244 | 215 | ZEND_ARG_INFO(0, string)
|
@@ -662,15 +633,15 @@ static const zend_function_entry intl_functions[] = {
|
662 | 633 | PHP_FE( datefmt_get_error_message, arginfo_msgfmt_get_error_message )
|
663 | 634 |
|
664 | 635 | /* grapheme functions */
|
665 |
| - PHP_FE( grapheme_strlen, grapheme_1_arg ) |
666 |
| - PHP_FE( grapheme_strpos, grapheme_search_args ) |
667 |
| - PHP_FE( grapheme_stripos, grapheme_search_args ) |
668 |
| - PHP_FE( grapheme_strrpos, grapheme_search_args ) |
669 |
| - PHP_FE( grapheme_strripos, grapheme_search_args ) |
670 |
| - PHP_FE( grapheme_substr, grapheme_substr_args ) |
671 |
| - PHP_FE( grapheme_strstr, grapheme_strstr_args ) |
672 |
| - PHP_FE( grapheme_stristr, grapheme_strstr_args ) |
673 |
| - PHP_FE( grapheme_extract, grapheme_extract_args ) |
| 636 | + PHP_FE( grapheme_strlen, arginfo_grapheme_strlen ) |
| 637 | + PHP_FE( grapheme_strpos, arginfo_grapheme_strpos ) |
| 638 | + PHP_FE( grapheme_stripos, arginfo_grapheme_stripos ) |
| 639 | + PHP_FE( grapheme_strrpos, arginfo_grapheme_strrpos ) |
| 640 | + PHP_FE( grapheme_strripos, arginfo_grapheme_strripos ) |
| 641 | + PHP_FE( grapheme_substr, arginfo_grapheme_substr ) |
| 642 | + PHP_FE( grapheme_strstr, arginfo_grapheme_strstr ) |
| 643 | + PHP_FE( grapheme_stristr, arginfo_grapheme_stristr ) |
| 644 | + PHP_FE( grapheme_extract, arginfo_grapheme_extract ) |
674 | 645 |
|
675 | 646 | /* IDN functions */
|
676 | 647 | PHP_FE( idn_to_ascii, arginfo_idn_to_ascii)
|
|
0 commit comments