[stdlib] Add "numeric{Type,Value}" to Unicode.Scalar.Properties

This commit is contained in:
Tony Allevato
2018-03-27 21:07:27 -07:00
parent e7078a473b
commit 354f2ad66e
3 changed files with 127 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ int32_t u_strToTitle(UChar *, int32_t, const UChar *, int32_t,
UBreakIterator *, const char *, UErrorCode *);
int32_t u_strToUpper(UChar *, int32_t, const UChar *, int32_t, const char *,
UErrorCode *);
double u_getNumericValue(UChar32);
}
#else
@@ -388,6 +389,10 @@ __swift_int32_t swift::__swift_stdlib_u_strToUpper(
locale, ptr_cast<UErrorCode>(pErrorCode));
}
double swift::__swift_stdlib_u_getNumericValue(__swift_stdlib_UChar32 c) {
return u_getNumericValue(c);
}
// Force an autolink with ICU
#if defined(__MACH__)