2000-02-16 01:19:55 +01:00
|
|
|
#include <overload.h>
|
|
|
|
|
2003-01-24 18:39:49 +01:00
|
|
|
JNIEXPORT jint JNICALL
|
2000-02-16 01:19:55 +01:00
|
|
|
Java_overload_over__I (JNIEnv *env, jclass klass, jint val)
|
|
|
|
{
|
|
|
|
return val;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2003-01-24 18:39:49 +01:00
|
|
|
JNIEXPORT jint JNICALL
|
2000-02-16 01:19:55 +01:00
|
|
|
Java_overload_over__II (JNIEnv *env, jclass klass, jint one, jint two)
|
|
|
|
{
|
|
|
|
return one + two;
|
|
|
|
}
|
|
|
|
|
|
|
|
|