summaryrefslogtreecommitdiff
path: root/FFI.java
diff options
context:
space:
mode:
Diffstat (limited to 'FFI.java')
-rw-r--r--FFI.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/FFI.java b/FFI.java
new file mode 100644
index 0000000..8104b2f
--- /dev/null
+++ b/FFI.java
@@ -0,0 +1,10 @@
+package rs.cph.hellorust;
+
+public class FFI {
+
+ private static native String func(final String pattern);
+
+ public String runFunc(String to) {
+ return func(to);
+ }
+}