Class spng_malloc_fn
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.spng.spng_malloc_fn
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, spng_malloc_fnI
Callback function:
spng_malloc_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_malloc_fnI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic spng_malloc_fncreate(long functionPointer) Creates aspng_malloc_fninstance from the specified function pointer.static spng_malloc_fncreate(spng_malloc_fnI instance) Creates aspng_malloc_fninstance that delegates to the specifiedspng_malloc_fnIinstance.static @Nullable spng_malloc_fncreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface spng_malloc_fnI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aspng_malloc_fninstance from the specified function pointer.- Returns:
- the new
spng_malloc_fn
-
createSafe
-
create
Creates aspng_malloc_fninstance that delegates to the specifiedspng_malloc_fnIinstance.
-