Package org.lwjgl.util.lz4
Class LZ4FAllocFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.lz4.LZ4FAllocFunction
- All Implemented Interfaces:
AutoCloseable
,CallbackI
,NativeResource
,Pointer
,LZ4FAllocFunctionI
Callback function:
LZ4F_AllocFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.util.lz4.LZ4FAllocFunctionI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4FAllocFunction
create
(long functionPointer) Creates aLZ4FAllocFunction
instance from the specified function pointer.static LZ4FAllocFunction
create
(LZ4FAllocFunctionI instance) Creates aLZ4FAllocFunction
instance that delegates to the specifiedLZ4FAllocFunctionI
instance.static @Nullable LZ4FAllocFunction
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.util.lz4.LZ4FAllocFunctionI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aLZ4FAllocFunction
instance from the specified function pointer.- Returns:
- the new
LZ4FAllocFunction
-
createSafe
-
create
Creates aLZ4FAllocFunction
instance that delegates to the specifiedLZ4FAllocFunctionI
instance.
-