Created
August 21, 2017 22:04
-
-
Save dsamarin/db524be6f46388fb0b3aad9651c4ee99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class System { | |
private static final System mInstance = new System(); | |
static { | |
java.lang.System.loadLibrary("mylib"); | |
} | |
private System() { | |
construct(); | |
} | |
public static System getInstance() { return mInstance; } | |
private native void construct(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment