jnr.ffi.ObjectReferenceManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-ffi Show documentation
Show all versions of jnr-ffi Show documentation
A library for invoking native functions from java
package jnr.ffi;
/**
*
*/
public abstract class ObjectReferenceManager {
public static ObjectReferenceManager newInstance(Runtime runtime) {
return runtime.newObjectReferenceManager();
}
public abstract Pointer newReference(Object obj);
public abstract void freeReference(Pointer reference);
public abstract Object getObject(Pointer reference);
}