fix for -Wunused-parameters

This commit is contained in:
tarotanaka0 2015-06-04 23:01:19 +09:00
parent 7e1debef44
commit 85463c693e

View File

@ -101,35 +101,35 @@ extern "C" JNIEXPORT jdouble JNICALL Java_JNI_addMix(JNIEnv*,
} }
extern "C" JNIEXPORT jint JNICALL 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) jint i1, jint i2)
{ {
return i1 + i2; return i1 + i2;
} }
extern "C" JNIEXPORT jint JNICALL 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) jint i1, jint i2, jint i3)
{ {
return i1 + i2 + i3; return i1 + i2 + i3;
} }
extern "C" JNIEXPORT jint JNICALL 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) jint i1, jint i2, jint i3, jint i4)
{ {
return i1 + i2 + i3 + i4; return i1 + i2 + i3 + i4;
} }
extern "C" JNIEXPORT jint JNICALL 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) jint i1, jint i2, jint i3, jint i4, jint i5)
{ {
return i1 + i2 + i3 + i4 + i5; return i1 + i2 + i3 + i4 + i5;
} }
extern "C" JNIEXPORT jint JNICALL 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) jint i1, jint i2, jint i3, jint i4, jint i5, jint i6)
{ {
return i1 + i2 + i3 + i4 + i5 + i6; return i1 + i2 + i3 + i4 + i5 + i6;