summaryrefslogtreecommitdiff
path: root/test/files/jvm/natives.h
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-06-11 12:09:35 +0000
committermichelou <michelou@epfl.ch>2007-06-11 12:09:35 +0000
commitd2d5fb166c5c7294b0459732b3fa3815b8d82fda (patch)
tree04ed62066f0f8a45568f0f0b18762596a3ddd94e /test/files/jvm/natives.h
parent908decebd0f890068221ff586ebd7b3492f37c0f (diff)
downloadscala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.tar.gz
scala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.tar.bz2
scala-d2d5fb166c5c7294b0459732b3fa3815b8d82fda.zip
added test for @native attribute
Diffstat (limited to 'test/files/jvm/natives.h')
-rw-r--r--test/files/jvm/natives.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/jvm/natives.h b/test/files/jvm/natives.h
new file mode 100644
index 0000000000..0d360d3654
--- /dev/null
+++ b/test/files/jvm/natives.h
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class Test__ */
+
+#ifndef _Included_Test__
+#define _Included_Test__
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: Test__
+ * Method: sayHello
+ * Signature: (Ljava/lang/String;)Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_Test_00024_sayHello
+ (JNIEnv *, jobject, jstring);
+
+#ifdef __cplusplus
+}
+#endif
+#endif