mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
17 lines
246 B
C
17 lines
246 B
C
#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;
|
|
}
|
|
|
|
|