Skip to content

Commit 1108b5a

Browse files
committed
Move class constant definition to the right enum file
1 parent 963998f commit 1108b5a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ext/intl/uchar/uchar.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,6 @@ int php_uchar_minit(INIT_FUNC_ARGS) {
747747
zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_VERSION);
748748
IC_CONSTL("CODEPOINT_MIN", UCHAR_MIN_VALUE)
749749
IC_CONSTL("CODEPOINT_MAX", UCHAR_MAX_VALUE)
750-
IC_CONSTL("FOLD_CASE_DEFAULT", U_FOLD_CASE_DEFAULT)
751-
IC_CONSTL("FOLD_CASE_EXCLUDE_SPECIAL_I", U_FOLD_CASE_EXCLUDE_SPECIAL_I)
752750
zend_declare_class_constant_double(ce, "NO_NUMERIC_VALUE", sizeof("NO_NUMERIC_VALUE")-1, U_NO_NUMERIC_VALUE);
753751

754752
/* All enums used by the uchar APIs. There are a LOT of them,

ext/intl/uchar/uother-enum.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,7 @@ UOTHER(HST_TRAILING_JAMO)
282282
UOTHER(HST_LV_SYLLABLE)
283283
UOTHER(HST_LVT_SYLLABLE)
284284
UOTHER(HST_COUNT )
285+
286+
/* StringOptions - http://icu-project.org/apiref/icu4c/stringoptions_8h.html */
287+
UOTHER(FOLD_CASE_DEFAULT)
288+
UOTHER(FOLD_CASE_EXCLUDE_SPECIAL_I)

0 commit comments

Comments
 (0)