Package org.lwjgl.util.lz4
Class LZ4FAllocFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.lz4.LZ4FAllocFunction
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,LZ4FAllocFunctionI
public abstract class LZ4FAllocFunction
extends org.lwjgl.system.Callback
implements LZ4FAllocFunctionI
Type
void * (*LZ4FAllocFunctionI.invoke(long, long)) (
void *opaqueState,
size_t size
)-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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.system.CallbackI
addressMethods 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.
-