wip
[tripe-android] / jni.java
diff --git a/jni.java b/jni.java
deleted file mode 100644 (file)
index 03630a8..0000000
--- a/jni.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package uk.org.distorted.tripe;
-
-class JNI {
-  static { System.loadLibrary("toy"); }
-  static class NativeObjectTypeException extends RuntimeException {
-    NativeObjectTypeException() { super(); }
-    NativeObjectTypeException(String msg) { super(msg); }
-  }
-
-  static final int CF_CLOSERD = 1, CF_CLOSEWR = 2;
-  static final int CF_CLOSEMASK = CF_CLOSERD | CF_CLOSEWR;
-
-  static native void test();
-
-  static native Object make();
-  static native void check(Object toy);
-
-  static native Object connect();
-  static native void send(Object conn, byte[] buf, int start, int len);
-  static native int recv(Object conn, byte[] buf, int start, int len);
-  static native void close(Object conn, int how);
-}