mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-18 01:29:47 +00:00
added readme + renames
This commit is contained in:
parent
15252b4f8d
commit
9eb5206bc9
4 changed files with 137 additions and 8 deletions
12
examples/jvm-interop/javaSource/Greeter.java
Normal file
12
examples/jvm-interop/javaSource/Greeter.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
package javaSource;
|
||||
|
||||
public class Greeter {
|
||||
static {
|
||||
System.loadLibrary("interop");
|
||||
}
|
||||
public static native String sayHello(int num);
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(sayHello(420));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue