summaryrefslogtreecommitdiffstats
path: root/include/ScopedStringChars.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-04-08 14:02:51 -0700
committerElliott Hughes <enh@google.com>2011-04-08 14:02:51 -0700
commitda7c1036f4c782be96a4521323ce7fb3c48e1bea (patch)
tree4cf0a1e72db9d869ce5a715952ca0b1333b6c38a /include/ScopedStringChars.h
parentc3f29820dd998dbc8a3283163e3dde2a0d657a78 (diff)
downloadlibcore-da7c1036f4c782be96a4521323ce7fb3c48e1bea.zip
libcore-da7c1036f4c782be96a4521323ce7fb3c48e1bea.tar.gz
libcore-da7c1036f4c782be96a4521323ce7fb3c48e1bea.tar.bz2
Use JNI's jchar instead of ICU's (equivalent) UChar.
This class should be usable by native code unrelated to ICU. Change-Id: I5017a023b68b3c9d625162f3a0b2dfb7a6edbeb8
Diffstat (limited to 'include/ScopedStringChars.h')
-rw-r--r--include/ScopedStringChars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ScopedStringChars.h b/include/ScopedStringChars.h
index 9f543b7..b59b786 100644
--- a/include/ScopedStringChars.h
+++ b/include/ScopedStringChars.h
@@ -40,7 +40,7 @@ public:
private:
JNIEnv* mEnv;
jstring mString;
- const UChar* mChars;
+ const jchar* mChars;
size_t mSize;
// Disallow copy and assignment.