diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-12 14:03:43 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-14 13:39:00 +0200 |
commit | f00bcfbb7dfe759ffab5abd05e3171fdeeb2f02e (patch) | |
tree | c89922e5fd24312e3bdcc0af96ab1dfe1cf4fd05 /ext/intl/breakiterator/breakiterator_iterators.cpp | |
parent | ae1364c35006bfcd0d7feeecddb7499000eba1b5 (diff) | |
download | php-git-f00bcfbb7dfe759ffab5abd05e3171fdeeb2f02e.tar.gz |
Generate method entries for ext/intl
Closes GH-5370
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_iterators.cpp')
-rw-r--r-- | ext/intl/breakiterator/breakiterator_iterators.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/intl/breakiterator/breakiterator_iterators.cpp b/ext/intl/breakiterator/breakiterator_iterators.cpp index a8d14e94b8..c55d9a2d94 100644 --- a/ext/intl/breakiterator/breakiterator_iterators.cpp +++ b/ext/intl/breakiterator/breakiterator_iterators.cpp @@ -286,17 +286,12 @@ U_CFUNC PHP_METHOD(IntlPartsIterator, getBreakIterator) ZVAL_COPY_DEREF(return_value, biter_zval); } -static const zend_function_entry IntlPartsIterator_class_functions[] = { - PHP_ME(IntlPartsIterator, getBreakIterator, arginfo_class_IntlPartsIterator_getBreakIterator, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - U_CFUNC void breakiterator_register_IntlPartsIterator_class(void) { zend_class_entry ce; /* Create and register 'BreakIterator' class. */ - INIT_CLASS_ENTRY(ce, "IntlPartsIterator", IntlPartsIterator_class_functions); + INIT_CLASS_ENTRY(ce, "IntlPartsIterator", class_IntlPartsIterator_methods); IntlPartsIterator_ce_ptr = zend_register_internal_class_ex(&ce, IntlIterator_ce_ptr); IntlPartsIterator_ce_ptr->create_object = IntlPartsIterator_object_create; |