This commit is contained in:
Orion Kindel
2023-04-08 22:54:31 -07:00
parent b400124096
commit e94f94d1a2
5 changed files with 35 additions and 33 deletions

View File

@@ -4,7 +4,6 @@ import dev.toad.msg.MessageRef;
import java.util.Optional;
public class Runtime {
static {
System.loadLibrary("toad_java_glue");
}
@@ -12,6 +11,7 @@ public class Runtime {
private final long addr;
private static native long init(RuntimeOptions o);
private native Optional<MessageRef> pollReq();
public static Runtime getOrInit(RuntimeOptions o) {