libcutils_shim: jstring: Import strcpy8to16 definition
Change-Id: Ieb1d53d667aafa333dc2b846f81bf3c51f854cd1
This commit is contained in:
parent
c3f51682eb
commit
51e834f21f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue