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
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4FAllocFunctioncreate(long functionPointer) Creates aLZ4FAllocFunctioninstance from the specified function pointer.static LZ4FAllocFunctioncreate(LZ4FAllocFunctionI instance) Creates aLZ4FAllocFunctioninstance that delegates to the specifiedLZ4FAllocFunctionIinstance.static @Nullable LZ4FAllocFunctioncreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.util.lz4.LZ4FAllocFunctionI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aLZ4FAllocFunctioninstance from the specified function pointer.- Returns:
- the new
LZ4FAllocFunction
-
createSafe
-
create
Creates aLZ4FAllocFunctioninstance that delegates to the specifiedLZ4FAllocFunctionIinstance.
-