Class LZ4FFreeFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.lz4.LZ4FFreeFunction
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, LZ4FFreeFunctionI
Callback function:
LZ4F_FreeFunction-
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 LZ4FFreeFunctionI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4FFreeFunctioncreate(long functionPointer) Creates aLZ4FFreeFunctioninstance from the specified function pointer.static LZ4FFreeFunctioncreate(LZ4FFreeFunctionI instance) Creates aLZ4FFreeFunctioninstance that delegates to the specifiedLZ4FFreeFunctionIinstance.static @Nullable LZ4FFreeFunctioncreateSafe(long functionPointer) Methods inherited from interface LZ4FFreeFunctionI
callback, getDescriptor, invokeMethods inherited from interface NativeResource
close
-
Method Details
-
create
Creates aLZ4FFreeFunctioninstance from the specified function pointer.- Returns:
- the new
LZ4FFreeFunction
-
createSafe
-
create
Creates aLZ4FFreeFunctioninstance that delegates to the specifiedLZ4FFreeFunctionIinstance.
-