|
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"
|
@@ -185,36 +186,6 @@ ZEND_BEGIN_ARG_INFO_EX(decomposition_args, 0, 0, 1)
|
185 | 186 | ZEND_END_ARG_INFO();
|
186 | 187 | #endif
|
187 | 188 |
|
188 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_1_arg, 0, 0, 1) |
189 |
| - ZEND_ARG_INFO(0, string) |
190 |
| -ZEND_END_ARG_INFO() |
191 |
| - |
192 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_search_args, 0, 0, 2) |
193 |
| - ZEND_ARG_INFO(0, haystack) |
194 |
| - ZEND_ARG_INFO(0, needle) |
195 |
| - ZEND_ARG_INFO(0, offset) |
196 |
| -ZEND_END_ARG_INFO() |
197 |
| - |
198 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_substr_args, 0, 0, 2) |
199 |
| - ZEND_ARG_INFO(0, string) |
200 |
| - ZEND_ARG_INFO(0, start) |
201 |
| - ZEND_ARG_INFO(0, length) |
202 |
| -ZEND_END_ARG_INFO() |
203 |
| - |
204 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_strstr_args, 0, 0, 2) |
205 |
| - ZEND_ARG_INFO(0, haystack) |
206 |
| - ZEND_ARG_INFO(0, needle) |
207 |
| - ZEND_ARG_INFO(0, before_needle) |
208 |
| -ZEND_END_ARG_INFO() |
209 |
| - |
210 |
| -ZEND_BEGIN_ARG_INFO_EX(grapheme_extract_args, 0, 0, 2) |
211 |
| - ZEND_ARG_INFO(0, arg1) |
212 |
| - ZEND_ARG_INFO(0, arg2) |
213 |
| - ZEND_ARG_INFO(0, arg3) |
214 |
| - ZEND_ARG_INFO(0, arg4) |
215 |
| - ZEND_ARG_INFO(1, arg5) /* 1 = pass by reference */ |
216 |
| -ZEND_END_ARG_INFO() |
217 |
| - |
218 | 189 | ZEND_BEGIN_ARG_INFO_EX(datefmt_parse_args, 0, 0, 2)
|
219 | 190 | ZEND_ARG_INFO(0, formatter)
|
220 | 191 | ZEND_ARG_INFO(0, string)
|
@@ -638,15 +609,15 @@ static const zend_function_entry intl_functions[] = {
|
638 | 609 | PHP_FE( datefmt_get_error_message, arginfo_msgfmt_get_error_message )
|
639 | 610 |
|
640 | 611 | /* grapheme functions */
|
641 |
| - PHP_FE( grapheme_strlen, grapheme_1_arg ) |
642 |
| - PHP_FE( grapheme_strpos, grapheme_search_args ) |
643 |
| - PHP_FE( grapheme_stripos, grapheme_search_args ) |
644 |
| - PHP_FE( grapheme_strrpos, grapheme_search_args ) |
645 |
| - PHP_FE( grapheme_strripos, grapheme_search_args ) |
646 |
| - PHP_FE( grapheme_substr, grapheme_substr_args ) |
647 |
| - PHP_FE( grapheme_strstr, grapheme_strstr_args ) |
648 |
| - PHP_FE( grapheme_stristr, grapheme_strstr_args ) |
649 |
| - PHP_FE( grapheme_extract, grapheme_extract_args ) |
| 612 | + PHP_FE( grapheme_strlen, arginfo_grapheme_strlen ) |
| 613 | + PHP_FE( grapheme_strpos, arginfo_grapheme_strpos ) |
| 614 | + PHP_FE( grapheme_stripos, arginfo_grapheme_stripos ) |
| 615 | + PHP_FE( grapheme_strrpos, arginfo_grapheme_strrpos ) |
| 616 | + PHP_FE( grapheme_strripos, arginfo_grapheme_strripos ) |
| 617 | + PHP_FE( grapheme_substr, arginfo_grapheme_substr ) |
| 618 | + PHP_FE( grapheme_strstr, arginfo_grapheme_strstr ) |
| 619 | + PHP_FE( grapheme_stristr, arginfo_grapheme_stristr ) |
| 620 | + PHP_FE( grapheme_extract, arginfo_grapheme_extract ) |
650 | 621 |
|
651 | 622 | /* IDN functions */
|
652 | 623 | PHP_FE( idn_to_ascii, arginfo_idn_to_ascii)
|
|
0 commit comments