Package org.lwjgl.util.opus
Class OPECloseFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPECloseFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPECloseFuncI
public abstract class OPECloseFunc extends org.lwjgl.system.Callback implements OPECloseFuncI
Instances of this class may be set to theOpusEncCallbacks.Type
int (*OPECloseFuncI.invoke(long)) ( void *user_data )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPECloseFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPECloseFunccreate(long functionPointer)Creates aOPECloseFuncinstance from the specified function pointer.static OPECloseFunccreate(OPECloseFuncI instance)Creates aOPECloseFuncinstance that delegates to the specifiedOPECloseFuncIinstance.static OPECloseFunccreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.util.opus.OPECloseFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPECloseFunc create(long functionPointer)
Creates aOPECloseFuncinstance from the specified function pointer.- Returns:
- the new
OPECloseFunc
-
createSafe
@Nullable public static OPECloseFunc createSafe(long functionPointer)
-
create
public static OPECloseFunc create(OPECloseFuncI instance)
Creates aOPECloseFuncinstance that delegates to the specifiedOPECloseFuncIinstance.
-
-