Package org.lwjgl.util.spng
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 interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
Fields inherited from interface org.lwjgl.util.spng.spng_malloc_fnI
CIF
-
Method Summary
Modifier and TypeMethodDescriptionstatic spng_malloc_fn
create
(long functionPointer) Creates aspng_malloc_fn
instance from the specified function pointer.static spng_malloc_fn
create
(spng_malloc_fnI instance) Creates aspng_malloc_fn
instance that delegates to the specifiedspng_malloc_fnI
instance.static @Nullable spng_malloc_fn
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.util.spng.spng_malloc_fnI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aspng_malloc_fn
instance from the specified function pointer.- Returns:
- the new
spng_malloc_fn
-
createSafe
-
create
Creates aspng_malloc_fn
instance that delegates to the specifiedspng_malloc_fnI
instance.
-