Package org.lwjgl.util.zstd
Class ZSTDAllocFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.zstd.ZSTDAllocFunction
- All Implemented Interfaces:
AutoCloseable
,CallbackI
,NativeResource
,Pointer
,ZSTDAllocFunctionI
Callback function:
ZSTD_allocFunction
-
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.zstd.ZSTDAllocFunctionI
CIF
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZSTDAllocFunction
create
(long functionPointer) Creates aZSTDAllocFunction
instance from the specified function pointer.static ZSTDAllocFunction
create
(ZSTDAllocFunctionI instance) Creates aZSTDAllocFunction
instance that delegates to the specifiedZSTDAllocFunctionI
instance.static @Nullable ZSTDAllocFunction
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.zstd.ZSTDAllocFunctionI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aZSTDAllocFunction
instance from the specified function pointer.- Returns:
- the new
ZSTDAllocFunction
-
createSafe
-
create
Creates aZSTDAllocFunction
instance that delegates to the specifiedZSTDAllocFunctionI
instance.
-