Package org.lwjgl.util.opus
Class OPCloseFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPCloseFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPCloseFuncI
public abstract class OPCloseFunc extends org.lwjgl.system.Callback implements OPCloseFuncI
Instances of this class may be set toOpusFileCallbacks.Type
int (*OPCloseFuncI.invoke(long)) ( void *_stream )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPCloseFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPCloseFunccreate(long functionPointer)Creates aOPCloseFuncinstance from the specified function pointer.static OPCloseFunccreate(OPCloseFuncI instance)Creates aOPCloseFuncinstance that delegates to the specifiedOPCloseFuncIinstance.static OPCloseFunccreateSafe(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.OPCloseFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPCloseFunc create(long functionPointer)
Creates aOPCloseFuncinstance from the specified function pointer.- Returns:
- the new
OPCloseFunc
-
createSafe
@Nullable public static OPCloseFunc createSafe(long functionPointer)
-
create
public static OPCloseFunc create(OPCloseFuncI instance)
Creates aOPCloseFuncinstance that delegates to the specifiedOPCloseFuncIinstance.
-
-