mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
fix for -Wunused-parameters
This commit is contained in:
parent
7e1debef44
commit
85463c693e
10
test/jni.cpp
10
test/jni.cpp
@ -101,35 +101,35 @@ extern "C" JNIEXPORT jdouble JNICALL Java_JNI_addMix(JNIEnv*,
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jint JNICALL
|
||||
Java_JNI_addStackBoundary2(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3,
|
||||
Java_JNI_addStackBoundary2(JNIEnv*, jclass, jobject, jobject, jobject,
|
||||
jint i1, jint i2)
|
||||
{
|
||||
return i1 + i2;
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jint JNICALL
|
||||
Java_JNI_addStackBoundary3(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3,
|
||||
Java_JNI_addStackBoundary3(JNIEnv*, jclass, jobject, jobject, jobject,
|
||||
jint i1, jint i2, jint i3)
|
||||
{
|
||||
return i1 + i2 + i3;
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jint JNICALL
|
||||
Java_JNI_addStackBoundary4(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3,
|
||||
Java_JNI_addStackBoundary4(JNIEnv*, jclass, jobject, jobject, jobject,
|
||||
jint i1, jint i2, jint i3, jint i4)
|
||||
{
|
||||
return i1 + i2 + i3 + i4;
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jint JNICALL
|
||||
Java_JNI_addStackBoundary5(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3,
|
||||
Java_JNI_addStackBoundary5(JNIEnv*, jclass, jobject, jobject, jobject,
|
||||
jint i1, jint i2, jint i3, jint i4, jint i5)
|
||||
{
|
||||
return i1 + i2 + i3 + i4 + i5;
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT jint JNICALL
|
||||
Java_JNI_addStackBoundary6(JNIEnv* e, jclass c, jobject o1, jobject o2, jobject o3,
|
||||
Java_JNI_addStackBoundary6(JNIEnv*, jclass, jobject, jobject, jobject,
|
||||
jint i1, jint i2, jint i3, jint i4, jint i5, jint i6)
|
||||
{
|
||||
return i1 + i2 + i3 + i4 + i5 + i6;
|
||||
|
Loading…
Reference in New Issue
Block a user