diff options
author | cos <cos> | 2020-03-22 19:08:12 +0100 |
---|---|---|
committer | cos <cos> | 2020-03-22 19:08:12 +0100 |
commit | 5151e6766f3686a8bef475fc90aee794274ab3c9 (patch) | |
tree | 21a6abfdce2ac6035a397a3e356e39485ca4df76 /FFI.java | |
download | hello_rust_example-android-5151e6766f3686a8bef475fc90aee794274ab3c9.zip |
Diffstat (limited to 'FFI.java')
-rw-r--r-- | FFI.java | 10 |
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); + } +} |