Class OPCloseFunc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.opus.OPCloseFunc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, OPCloseFuncI
Callback function:
op_close_func-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface OPCloseFuncI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic OPCloseFunccreate(long functionPointer) Creates aOPCloseFuncinstance from the specified function pointer.static OPCloseFunccreate(OPCloseFuncI instance) Creates aOPCloseFuncinstance that delegates to the specifiedOPCloseFuncIinstance.static @Nullable OPCloseFunccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface OPCloseFuncI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aOPCloseFuncinstance from the specified function pointer.- Returns:
- the new
OPCloseFunc
-
createSafe
-
create
Creates aOPCloseFuncinstance that delegates to the specifiedOPCloseFuncIinstance.
-