Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Last active December 18, 2015 23:49
Show Gist options
  • Select an option

  • Save jrgleason/5864721 to your computer and use it in GitHub Desktop.

Select an option

Save jrgleason/5864721 to your computer and use it in GitHub Desktop.
Native JNI Java
package com.gleason.gl.nat;
public class Native {
static
{
System.loadLibrary("box2D");
System.loadLibrary("testand");
}
public static native void init();
public static native void resize(int width, int height);
public static native void render();
public static native void moveX(float x);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment