summaryrefslogtreecommitdiff
path: root/include/utils/Unicode.h
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2016-05-09 14:43:31 +0100
committerMichael Wright <michaelwr@google.com>2016-05-09 19:45:07 +0100
commit5bacef33c91e9625dfd09ecf638c2de7faecd34e (patch)
tree545ac749f183ec37edc89eb5e2066427cc0457fa /include/utils/Unicode.h
parentea41a18c933d20264b89fc89febf387231dc0c24 (diff)
Add String16#contains and strstr16 methods.
These are needed for aapt to find javadoc comments that contain "@removed" in order to skip them when printing styleable docs. Bug: 28663748 Change-Id: I8866d2167c41e11d6c2586da369560d5815fd13e
Diffstat (limited to 'include/utils/Unicode.h')
-rw-r--r--include/utils/Unicode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/Unicode.h b/include/utils/Unicode.h
index b76a5e268..a006082b0 100644
--- a/include/utils/Unicode.h
+++ b/include/utils/Unicode.h
@@ -29,6 +29,7 @@ size_t strlen16(const char16_t *);
size_t strnlen16(const char16_t *, size_t);
char16_t *strcpy16(char16_t *, const char16_t *);
char16_t *strncpy16(char16_t *, const char16_t *, size_t);
+char16_t *strstr16(const char16_t*, const char16_t*);
// Version of comparison that supports embedded nulls.
// This is different than strncmp() because we don't stop