Top Description Inners Constructors Methods
org.lwjgl.util.zstd

public abstract Class ZSTDFreeFunction

extends Callback
implements ZSTDFreeFunctionI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.zstd.ZSTDFreeFunctionI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.zstd.ZSTDFreeFunction.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the ZSTDCustomMem struct.

Type


void (*invoke) (
    void *opaque,
    void *address
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
ZSTDFreeFunction(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static ZSTDFreeFunction

Returns:

the new ZSTDFreeFunction
create
(long functionPointer)

Creates a ZSTDFreeFunction instance from the specified function pointer.

public static ZSTDFreeFunction
create(ZSTDFreeFunctionI instance)

Creates a ZSTDFreeFunction instance that delegates to the specified ZSTDFreeFunctionI instance.

public static ZSTDFreeFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

ZSTDFreeFunctionback to summary
protected ZSTDFreeFunction()
ZSTDFreeFunctionback to summary
pack-priv ZSTDFreeFunction(long functionPointer)

Method Detail

createback to summary
public static ZSTDFreeFunction create(long functionPointer)

Creates a ZSTDFreeFunction instance from the specified function pointer.

Returns:ZSTDFreeFunction

the new ZSTDFreeFunction

createback to summary
public static ZSTDFreeFunction create(ZSTDFreeFunctionI instance)

Creates a ZSTDFreeFunction instance that delegates to the specified ZSTDFreeFunctionI instance.

createSafeback to summary
public static ZSTDFreeFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.zstd back to summary

private final Class ZSTDFreeFunction.Container

extends ZSTDFreeFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final ZSTDFreeFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, ZSTDFreeFunctionI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long opaque, long address)

Implements org.lwjgl.util.zstd.ZSTDFreeFunctionI.invoke.

Inherited from org.lwjgl.util.zstd.ZSTDFreeFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final ZSTDFreeFunctionI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, ZSTDFreeFunctionI delegate)

Method Detail

invokeback to summary
public void invoke(long opaque, long address)

Implements org.lwjgl.util.zstd.ZSTDFreeFunctionI.invoke.

Annotations
@Override