Retro68/gcc/libjava/testsuite/libjava.jni/overload.c

17 lines
246 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
#include <overload.h>
JNIEXPORT jint JNICALL
Java_overload_over__I (JNIEnv *env, jclass klass, jint val)
{
return val;
}
JNIEXPORT jint JNICALL
Java_overload_over__II (JNIEnv *env, jclass klass, jint one, jint two)
{
return one + two;
}