com php-src: Move class constant definition to the right enum file: ext/intl/uchar/uchar.c ext/intl/uchar/uother-enum.h

From: Date: Tue, 19 Jun 2018 22:21:08 +0000
Subject: com php-src: Move class constant definition to the right enum file: ext/intl/uchar/uchar.c ext/intl/uchar/uother-enum.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102195@lists.php.net to get a copy of this message
Commit: 1108b5a19bccf1f95188a56b9f562a2c8b8de9db Author: Sara Golemon <pollita@php.net> Tue, 19 Jun 2018 18:20:38 -0400 Parents: 963998f0ab41084cdbde25232b521181a4f807b4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1108b5a19bccf1f95188a56b9f562a2c8b8de9db Log: Move class constant definition to the right enum file Changed paths: M ext/intl/uchar/uchar.c M ext/intl/uchar/uother-enum.h Diff: diff --git a/ext/intl/uchar/uchar.c b/ext/intl/uchar/uchar.c index c3fe66f..10bfbc2 100644 --- a/ext/intl/uchar/uchar.c +++ b/ext/intl/uchar/uchar.c @@ -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); IC_CONSTL("CODEPOINT_MIN", UCHAR_MIN_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); /* All enums used by the uchar APIs. There are a LOT of them, diff --git a/ext/intl/uchar/uother-enum.h b/ext/intl/uchar/uother-enum.h index babcf5c..5e59b6b 100644 --- a/ext/intl/uchar/uother-enum.h +++ b/ext/intl/uchar/uother-enum.h @@ -282,3 +282,7 @@ UOTHER(HST_TRAILING_JAMO) UOTHER(HST_LV_SYLLABLE) UOTHER(HST_LVT_SYLLABLE) UOTHER(HST_COUNT ) + +/* StringOptions - http://icu-project.org/apiref/icu4c/stringoptions_8h.html */ +UOTHER(FOLD_CASE_DEFAULT) +UOTHER(FOLD_CASE_EXCLUDE_SPECIAL_I)

« previous php.cvs (#102195) next »