diff options
| author | Ken Wakasa <kwakasa@google.com> | 2013-06-04 19:16:47 +0900 |
|---|---|---|
| committer | Ken Wakasa <kwakasa@google.com> | 2013-06-04 19:16:47 +0900 |
| commit | ad0c6d7b3635f0c1d92a3e4d895909234b7a2f0d (patch) | |
| tree | 69b29880d640420fa6d1d3e2a646edd7e8f12890 /native/jni/jni_common.h | |
| parent | 11dc3a371d3bc682f7307586761ae637170d3505 (diff) | |
| download | android_packages_inputmethods_LatinIME-ad0c6d7b3635f0c1d92a3e4d895909234b7a2f0d.tar.gz android_packages_inputmethods_LatinIME-ad0c6d7b3635f0c1d92a3e4d895909234b7a2f0d.tar.bz2 android_packages_inputmethods_LatinIME-ad0c6d7b3635f0c1d92a3e4d895909234b7a2f0d.zip | |
Cleanups in JNI related code
Removed the malloc version in binary dictionary support -- this has not
really been tested well so far, and the mmap version has been working pretty
well after all.
Several cosmetic fixes etc.
Change-Id: Iad0da58b300b769fb5946a3e73fc96f56215980e
Diffstat (limited to 'native/jni/jni_common.h')
| -rw-r--r-- | native/jni/jni_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/jni_common.h b/native/jni/jni_common.h index f960b05a6..ef72a7ce9 100644 --- a/native/jni/jni_common.h +++ b/native/jni/jni_common.h @@ -20,7 +20,7 @@ #include "jni.h" namespace latinime { -int registerNativeMethods(JNIEnv *env, const char *className, JNINativeMethod *methods, - int numMethods); +int registerNativeMethods(JNIEnv *env, const char *const className, const JNINativeMethod *methods, + const int numMethods); } // namespace latinime #endif // LATINIME_JNI_COMMON_H |
