summaryrefslogtreecommitdiff
path: root/src/corefx
diff options
context:
space:
mode:
authorTarek Mahmoud Sayed <tarekms@microsoft.com>2016-10-27 01:16:07 -0700
committerJan Vorlicek <janvorli@microsoft.com>2016-10-27 10:16:07 +0200
commitfe77cdebf43ffd794ef7f336b059230fb8ac4c5b (patch)
tree2ce48e10fe8d8c1c39bb668eb74d77315e668dd2 /src/corefx
parent22303a95a5320c4a339fe36c21ffaa9e59ffb08f (diff)
downloadcoreclr-fe77cdebf43ffd794ef7f336b059230fb8ac4c5b.tar.gz
coreclr-fe77cdebf43ffd794ef7f336b059230fb8ac4c5b.tar.bz2
coreclr-fe77cdebf43ffd794ef7f336b059230fb8ac4c5b.zip
Add the missing ICU APIs to the ICU shim (#7840)
there was a change done by the PR #7773 which removed the dependency on ICU version. and there is another PR #7811 which used more ICU APIs not listed in the shim. the change here is to add these APIs to the shim
Diffstat (limited to 'src/corefx')
-rw-r--r--src/corefx/System.Globalization.Native/icushim.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corefx/System.Globalization.Native/icushim.h b/src/corefx/System.Globalization.Native/icushim.h
index c9214c355f..8ec13d5737 100644
--- a/src/corefx/System.Globalization.Native/icushim.h
+++ b/src/corefx/System.Globalization.Native/icushim.h
@@ -88,6 +88,8 @@
PER_FUNCTION_BLOCK(uldn_keyValueDisplayName, libicui18n) \
PER_FUNCTION_BLOCK(uldn_open, libicui18n) \
PER_FUNCTION_BLOCK(uloc_canonicalize, libicuuc) \
+ PER_FUNCTION_BLOCK(uloc_countAvailable, libicuuc) \
+ PER_FUNCTION_BLOCK(uloc_getAvailable, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getBaseName, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getCharacterOrientation, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getCountry, libicuuc) \
@@ -96,6 +98,7 @@
PER_FUNCTION_BLOCK(uloc_getDisplayLanguage, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getDisplayName, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getISO3Country, libicuuc) \
+ PER_FUNCTION_BLOCK(uloc_getISO3Language, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getKeywordValue, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getLanguage, libicuuc) \
PER_FUNCTION_BLOCK(uloc_getLCID, libicuuc) \
@@ -195,6 +198,8 @@ FOR_ALL_ICU_FUNCTIONS
#define uldn_keyValueDisplayName(...) uldn_keyValueDisplayName_ptr(__VA_ARGS__)
#define uldn_open(...) uldn_open_ptr(__VA_ARGS__)
#define uloc_canonicalize(...) uloc_canonicalize_ptr(__VA_ARGS__)
+#define uloc_countAvailable(...) uloc_countAvailable_ptr(__VA_ARGS__)
+#define uloc_getAvailable(...) uloc_getAvailable_ptr(__VA_ARGS__)
#define uloc_getBaseName(...) uloc_getBaseName_ptr(__VA_ARGS__)
#define uloc_getCharacterOrientation(...) uloc_getCharacterOrientation_ptr(__VA_ARGS__)
#define uloc_getCountry(...) uloc_getCountry_ptr(__VA_ARGS__)
@@ -203,6 +208,7 @@ FOR_ALL_ICU_FUNCTIONS
#define uloc_getDisplayLanguage(...) uloc_getDisplayLanguage_ptr(__VA_ARGS__)
#define uloc_getDisplayName(...) uloc_getDisplayName_ptr(__VA_ARGS__)
#define uloc_getISO3Country(...) uloc_getISO3Country_ptr(__VA_ARGS__)
+#define uloc_getISO3Language(...) uloc_getISO3Language_ptr(__VA_ARGS__)
#define uloc_getKeywordValue(...) uloc_getKeywordValue_ptr(__VA_ARGS__)
#define uloc_getLanguage(...) uloc_getLanguage_ptr(__VA_ARGS__)
#define uloc_getLCID(...) uloc_getLCID_ptr(__VA_ARGS__)