Browse Source
Move class constant definition to the right enum file
pull/3305/head
Sara Golemon
8 years ago
No known key found for this signature in database
GPG Key ID: DBDB397470D12172
2 changed files with
4 additions and
2 deletions
-
ext/intl/uchar/uchar.c
-
ext/intl/uchar/uother-enum.h
|
|
@ -747,8 +747,6 @@ int php_uchar_minit(INIT_FUNC_ARGS) { |
|
|
zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_VERSION); |
|
|
zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_VERSION); |
|
|
IC_CONSTL("CODEPOINT_MIN", UCHAR_MIN_VALUE) |
|
|
IC_CONSTL("CODEPOINT_MIN", UCHAR_MIN_VALUE) |
|
|
IC_CONSTL("CODEPOINT_MAX", UCHAR_MAX_VALUE) |
|
|
IC_CONSTL("CODEPOINT_MAX", UCHAR_MAX_VALUE) |
|
|
IC_CONSTL("FOLD_CASE_DEFAULT", U_FOLD_CASE_DEFAULT) |
|
|
|
|
|
IC_CONSTL("FOLD_CASE_EXCLUDE_SPECIAL_I", U_FOLD_CASE_EXCLUDE_SPECIAL_I) |
|
|
|
|
|
zend_declare_class_constant_double(ce, "NO_NUMERIC_VALUE", sizeof("NO_NUMERIC_VALUE")-1, U_NO_NUMERIC_VALUE); |
|
|
zend_declare_class_constant_double(ce, "NO_NUMERIC_VALUE", sizeof("NO_NUMERIC_VALUE")-1, U_NO_NUMERIC_VALUE); |
|
|
|
|
|
|
|
|
/* All enums used by the uchar APIs. There are a LOT of them, |
|
|
/* All enums used by the uchar APIs. There are a LOT of them, |
|
|
|
|
|
@ -282,3 +282,7 @@ UOTHER(HST_TRAILING_JAMO) |
|
|
UOTHER(HST_LV_SYLLABLE) |
|
|
UOTHER(HST_LV_SYLLABLE) |
|
|
UOTHER(HST_LVT_SYLLABLE) |
|
|
UOTHER(HST_LVT_SYLLABLE) |
|
|
UOTHER(HST_COUNT ) |
|
|
UOTHER(HST_COUNT ) |
|
|
|
|
|
|
|
|
|
|
|
/* StringOptions - http://icu-project.org/apiref/icu4c/stringoptions_8h.html */ |
|
|
|
|
|
UOTHER(FOLD_CASE_DEFAULT) |
|
|
|
|
|
UOTHER(FOLD_CASE_EXCLUDE_SPECIAL_I) |