mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Declare ext/intl constants in stubs - part 10 (#9280)
This commit is contained in:
parent
6a50af2604
commit
559d5030a8
6 changed files with 249 additions and 44 deletions
|
@ -275,14 +275,4 @@ U_CFUNC void breakiterator_register_IntlPartsIterator_class(void)
|
|||
{
|
||||
/* Create and register 'BreakIterator' class. */
|
||||
IntlPartsIterator_ce_ptr = register_class_IntlPartsIterator(IntlIterator_ce_ptr);
|
||||
|
||||
#define PARTSITER_DECL_LONG_CONST(name) \
|
||||
zend_declare_class_constant_long(IntlPartsIterator_ce_ptr, #name, \
|
||||
sizeof(#name) - 1, PARTS_ITERATOR_ ## name)
|
||||
|
||||
PARTSITER_DECL_LONG_CONST(KEY_SEQUENTIAL);
|
||||
PARTSITER_DECL_LONG_CONST(KEY_LEFT);
|
||||
PARTSITER_DECL_LONG_CONST(KEY_RIGHT);
|
||||
|
||||
#undef PARTSITER_DECL_LONG_CONST
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue