forked from gmp/jni
fix: use proper return type for static booleans
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
parent
ff2a63c99a
commit
f8a0df591f
2
jni.c
2
jni.c
|
@ -118,7 +118,7 @@ jint _jni_CallStaticIntMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue
|
||||||
return (*env)->CallStaticIntMethodA(env, cls, method, args);
|
return (*env)->CallStaticIntMethodA(env, cls, method, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
jint _jni_CallStaticBooleanMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue *args) {
|
jboolean _jni_CallStaticBooleanMethodA(JNIEnv *env, jclass cls, jmethodID method, jvalue *args) {
|
||||||
return (*env)->CallStaticBooleanMethodA(env, cls, method, args);
|
return (*env)->CallStaticBooleanMethodA(env, cls, method, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user