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

public abstract Class LZ4FCallocFunction

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

Type


void * (*invoke) (
    void *opaqueState,
    size_t size
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static LZ4FCallocFunction

Returns:

the new LZ4FCallocFunction
create
(long functionPointer)

Creates a LZ4FCallocFunction instance from the specified function pointer.

public static LZ4FCallocFunction
create(LZ4FCallocFunctionI instance)

Creates a LZ4FCallocFunction instance that delegates to the specified LZ4FCallocFunctionI instance.

public static LZ4FCallocFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LZ4FCallocFunctionback to summary
protected LZ4FCallocFunction()
LZ4FCallocFunctionback to summary
pack-priv LZ4FCallocFunction(long functionPointer)

Method Detail

createback to summary
public static LZ4FCallocFunction create(long functionPointer)

Creates a LZ4FCallocFunction instance from the specified function pointer.

Returns:LZ4FCallocFunction

the new LZ4FCallocFunction

createback to summary
public static LZ4FCallocFunction create(LZ4FCallocFunctionI instance)

Creates a LZ4FCallocFunction instance that delegates to the specified LZ4FCallocFunctionI instance.

createSafeback to summary
public static LZ4FCallocFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

private final Class LZ4FCallocFunction.Container

extends LZ4FCallocFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LZ4FCallocFunctionI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long opaqueState, long size)

Implements org.lwjgl.util.lz4.LZ4FCallocFunctionI.invoke.

Inherited from org.lwjgl.util.lz4.LZ4FCallocFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LZ4FCallocFunctionI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long opaqueState, long size)

Implements org.lwjgl.util.lz4.LZ4FCallocFunctionI.invoke.

Annotations
@Override