summaryrefslogtreecommitdiffstats
path: root/Tests/JavaJavah/C.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/JavaJavah/C.cpp')
-rw-r--r--Tests/JavaJavah/C.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/JavaJavah/C.cpp b/Tests/JavaJavah/C.cpp
new file mode 100644
index 0000000..ec75f42
--- /dev/null
+++ b/Tests/JavaJavah/C.cpp
@@ -0,0 +1,10 @@
+
+#include <jni.h>
+#include <stdio.h>
+
+#include "C.h"
+
+JNIEXPORT void JNICALL Java_C_printName(JNIEnv *, jobject)
+{
+ printf("C\n");
+}