Class ZSTDFreeFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.zstd.ZSTDFreeFunction
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, ZSTDFreeFunctionI
Callback function:
ZSTD_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 Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface ZSTDFreeFunctionI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic ZSTDFreeFunctioncreate(long functionPointer) Creates aZSTDFreeFunctioninstance from the specified function pointer.static ZSTDFreeFunctioncreate(ZSTDFreeFunctionI instance) Creates aZSTDFreeFunctioninstance that delegates to the specifiedZSTDFreeFunctionIinstance.static @Nullable ZSTDFreeFunctioncreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface ZSTDFreeFunctionI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aZSTDFreeFunctioninstance from the specified function pointer.- Returns:
- the new
ZSTDFreeFunction
-
createSafe
-
create
Creates aZSTDFreeFunctioninstance that delegates to the specifiedZSTDFreeFunctionIinstance.
-