Merge "Move wchar _l functions out of wchar.cpp."

am: 78c8b306ee

Change-Id: Ia871cf273fde5c70737378b0a7634f2a634d5587
This commit is contained in:
Dan Albert 2017-07-13 19:27:42 +00:00 committed by android-build-merger
commit 021d7ca543
2 changed files with 22 additions and 22 deletions

View file

@ -210,25 +210,3 @@ size_t wcsnrtombs(char* dst, const wchar_t** src, size_t nwc, size_t len, mbstat
size_t wcsrtombs(char* dst, const wchar_t** src, size_t len, mbstate_t* ps) {
return wcsnrtombs(dst, src, SIZE_MAX, len, ps);
}
int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t) {
return wcscoll(ws1, ws2);
}
size_t wcsxfrm_l(wchar_t *dest, const wchar_t *src, size_t n, locale_t) {
return wcsxfrm(dest, src, n);
}
long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base,
locale_t) {
return wcstoll(nptr, endptr, base);
}
unsigned long long wcstoull_l(const wchar_t *nptr, wchar_t **endptr,
int base, locale_t) {
return wcstoull(nptr, endptr, base);
}
long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, locale_t) {
return wcstold(nptr, endptr);
}

View file

@ -36,3 +36,25 @@ int wcscasecmp_l(const wchar_t* ws1, const wchar_t* ws2, locale_t) {
int wcsncasecmp_l(const wchar_t* ws1, const wchar_t* ws2, size_t n, locale_t) {
return wcsncasecmp(ws1, ws2, n);
}
int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t) {
return wcscoll(ws1, ws2);
}
size_t wcsxfrm_l(wchar_t *dest, const wchar_t *src, size_t n, locale_t) {
return wcsxfrm(dest, src, n);
}
long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base,
locale_t) {
return wcstoll(nptr, endptr, base);
}
unsigned long long wcstoull_l(const wchar_t *nptr, wchar_t **endptr,
int base, locale_t) {
return wcstoull(nptr, endptr, base);
}
long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, locale_t) {
return wcstold(nptr, endptr);
}