Simplified java binding example
This commit is contained in:
7
examples/bindings/newscala/ZeroTier.java
Normal file
7
examples/bindings/newscala/ZeroTier.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package zerotier;
|
||||
|
||||
public class ZeroTier
|
||||
{
|
||||
public native int ztjni_socket(int family, int type, int protocol);
|
||||
public int socket(int family, int type, int protocol) { return ztjni_socket(family, type, protocol); }
|
||||
}
|
||||
Reference in New Issue
Block a user