diff options
author | michelou <michelou@epfl.ch> | 2007-06-11 12:09:35 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-06-11 12:09:35 +0000 |
commit | d2d5fb166c5c7294b0459732b3fa3815b8d82fda (patch) | |
tree | 04ed62066f0f8a45568f0f0b18762596a3ddd94e /test/files/jvm/natives.c | |
parent | 908decebd0f890068221ff586ebd7b3492f37c0f (diff) | |
download | scala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.tar.gz scala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.tar.bz2 scala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.zip |
added test for @native attribute
Diffstat (limited to 'test/files/jvm/natives.c')
-rw-r--r-- | test/files/jvm/natives.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/jvm/natives.c b/test/files/jvm/natives.c new file mode 100644 index 0000000000..7b6d7b5ba5 --- /dev/null +++ b/test/files/jvm/natives.c @@ -0,0 +1,8 @@ +#include "natives.h" + +JNIEXPORT jstring JNICALL Java_Test_00024_sayHello + (JNIEnv *env, jobject thisobject, jstring js) + +{ + return js; +} |