Class spng_calloc_fn
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.spng.spng_calloc_fn
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, spng_calloc_fnI
Callback function:
spng_calloc_fn-
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 Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface spng_calloc_fnI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic spng_calloc_fncreate(long functionPointer) Creates aspng_calloc_fninstance from the specified function pointer.static spng_calloc_fncreate(spng_calloc_fnI instance) Creates aspng_calloc_fninstance that delegates to the specifiedspng_calloc_fnIinstance.static @Nullable spng_calloc_fncreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface spng_calloc_fnI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aspng_calloc_fninstance from the specified function pointer.- Returns:
- the new
spng_calloc_fn
-
createSafe
-
create
Creates aspng_calloc_fninstance that delegates to the specifiedspng_calloc_fnIinstance.
-