summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_iterators.cpp
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-05 20:57:57 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-09 13:37:24 +0100
commitc6723728dff93c6d4276d32cac7bf2b8465be93a (patch)
tree5885b48a16e37b21a00814ce91e763b8e81dc7c5 /ext/intl/breakiterator/breakiterator_iterators.cpp
parent99b08ac2817672c108149a65509c79baf261e819 (diff)
downloadphp-git-c6723728dff93c6d4276d32cac7bf2b8465be93a.tar.gz
Generate ext/intl class entries from stubs
Closes GH-6670
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_iterators.cpp')
-rw-r--r--ext/intl/breakiterator/breakiterator_iterators.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/intl/breakiterator/breakiterator_iterators.cpp b/ext/intl/breakiterator/breakiterator_iterators.cpp
index 7c955a5ecb..4eb0fd8da9 100644
--- a/ext/intl/breakiterator/breakiterator_iterators.cpp
+++ b/ext/intl/breakiterator/breakiterator_iterators.cpp
@@ -24,7 +24,7 @@
extern "C" {
#define USE_BREAKITERATOR_POINTER
#include "breakiterator_class.h"
-#include "breakiterator_arginfo.h"
+#include "breakiterator_iterators_arginfo.h"
#include "../intl_convert.h"
#include "../locale/locale.h"
#include <zend_exceptions.h>
@@ -287,12 +287,8 @@ U_CFUNC PHP_METHOD(IntlPartsIterator, getBreakIterator)
U_CFUNC void breakiterator_register_IntlPartsIterator_class(void)
{
- zend_class_entry ce;
-
/* Create and register 'BreakIterator' class. */
- INIT_CLASS_ENTRY(ce, "IntlPartsIterator", class_IntlPartsIterator_methods);
- IntlPartsIterator_ce_ptr = zend_register_internal_class_ex(&ce,
- IntlIterator_ce_ptr);
+ IntlPartsIterator_ce_ptr = register_class_IntlPartsIterator(IntlIterator_ce_ptr);
IntlPartsIterator_ce_ptr->create_object = IntlPartsIterator_object_create;
memcpy(&IntlPartsIterator_handlers, &IntlIterator_handlers,