Merge "Fix incorrect API level for wcstombs and mbstowcs."

This commit is contained in:
Zijun Zhao 2021-11-12 01:32:47 +00:00 committed by Gerrit Code Review
commit 02ed7ea425
2 changed files with 4 additions and 4 deletions

View file

@ -161,11 +161,11 @@ const char* getprogname(void) __INTRODUCED_IN(21);
void setprogname(const char* __name) __INTRODUCED_IN(21); void setprogname(const char* __name) __INTRODUCED_IN(21);
int mblen(const char* __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(26); int mblen(const char* __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(26);
size_t mbstowcs(wchar_t* __dst, const char* __src, size_t __n); size_t mbstowcs(wchar_t* __dst, const char* __src, size_t __n) __INTRODUCED_IN(21) __VERSIONER_NO_GUARD;
int mbtowc(wchar_t* __wc_ptr, const char* __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(21); int mbtowc(wchar_t* __wc_ptr, const char* __s, size_t __n) __INTRODUCED_IN_NO_GUARD_FOR_NDK(21);
int wctomb(char* __dst, wchar_t __wc) __INTRODUCED_IN_NO_GUARD_FOR_NDK(21); int wctomb(char* __dst, wchar_t __wc) __INTRODUCED_IN_NO_GUARD_FOR_NDK(21);
size_t wcstombs(char* __dst, const wchar_t* __src, size_t __n); size_t wcstombs(char* __dst, const wchar_t* __src, size_t __n) __INTRODUCED_IN(21) __VERSIONER_NO_GUARD;
#if __ANDROID_API__ >= 21 #if __ANDROID_API__ >= 21
size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21); size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21);

View file

@ -631,7 +631,7 @@ LIBC {
mbsinit; mbsinit;
mbsnrtowcs; # introduced=21 mbsnrtowcs; # introduced=21
mbsrtowcs; mbsrtowcs;
mbstowcs; mbstowcs; # introduced=21
mbtowc; # introduced=21 mbtowc; # introduced=21
memalign; memalign;
memccpy; memccpy;
@ -1194,7 +1194,7 @@ LIBC {
wcstold_l; # introduced=21 wcstold_l; # introduced=21
wcstoll; # introduced=21 wcstoll; # introduced=21
wcstoll_l; # introduced=21 wcstoll_l; # introduced=21
wcstombs; wcstombs; # introduced=21
wcstoul; wcstoul;
wcstoull; # introduced=21 wcstoull; # introduced=21
wcstoull_l; # introduced=21 wcstoull_l; # introduced=21