diff options
author | Elliott Hughes <enh@google.com> | 2010-04-16 17:44:12 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-04-16 17:44:12 -0700 |
commit | c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8 (patch) | |
tree | cc325048a7dc4cb15eb2f39244c3b881b284644d /icu/src/main/native/NativeNormalizer.cpp | |
parent | 757a7942eed2b0aa457f8517a0259d2ac82c5b18 (diff) | |
download | libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.zip libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.gz libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.bz2 |
Move the libcore registration out of libnativehelpers and into libcore.
Bug: 754114
Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7
Diffstat (limited to 'icu/src/main/native/NativeNormalizer.cpp')
-rw-r--r-- | icu/src/main/native/NativeNormalizer.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/icu/src/main/native/NativeNormalizer.cpp b/icu/src/main/native/NativeNormalizer.cpp index 663a7c1..257cf9b 100644 --- a/icu/src/main/native/NativeNormalizer.cpp +++ b/icu/src/main/native/NativeNormalizer.cpp @@ -41,11 +41,10 @@ static jboolean isNormalizedImpl(JNIEnv* env, jclass, jstring s, jint intMode) { } static JNINativeMethod gMethods[] = { - /* name, signature, funcPtr */ {"normalizeImpl", "(Ljava/lang/String;I)Ljava/lang/String;", (void*) normalizeImpl}, {"isNormalizedImpl", "(Ljava/lang/String;I)Z", (void*) isNormalizedImpl}, }; -extern "C" int register_com_ibm_icu4jni_text_NativeNormalizer(JNIEnv* env) { - return jniRegisterNativeMethods(env, - "com/ibm/icu4jni/text/NativeNormalizer", gMethods, NELEM(gMethods)); +int register_com_ibm_icu4jni_text_NativeNormalizer(JNIEnv* env) { + return jniRegisterNativeMethods(env, "com/ibm/icu4jni/text/NativeNormalizer", + gMethods, NELEM(gMethods)); } |