From 51e834f21fabd3ed4297db154767d2682bdd38c1 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 21 Sep 2022 13:10:09 -0400 Subject: [PATCH] libcutils_shim: jstring: Import strcpy8to16 definition Change-Id: Ieb1d53d667aafa333dc2b846f81bf3c51f854cd1 --- libcutils/jstring.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcutils/jstring.h b/libcutils/jstring.h index 6ede786..c75a490 100644 --- a/libcutils/jstring.h +++ b/libcutils/jstring.h @@ -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 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 } #endif