libcutils_shim: jstring: Import strcpy8to16 definition

Change-Id: Ieb1d53d667aafa333dc2b846f81bf3c51f854cd1
This commit is contained in:
Nolen Johnson 2022-09-21 13:10:09 -04:00
parent c3f51682eb
commit 51e834f21f

View file

@ -32,6 +32,10 @@ extern char * strndup16to8 (const char16_t* s, size_t n);
extern size_t strnlen16to8 (const char16_t* s, size_t n); extern size_t strnlen16to8 (const char16_t* s, size_t n);
extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n); extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
extern char16_t * strdup8to16 (const char* s, size_t *out_len);
extern size_t strlen8to16 (const char* utf8Str);
extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif