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

public abstract Class LZ4FAllocFunction

extends Callback
implements LZ4FAllocFunctionI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.lz4.LZ4FAllocFunctionI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.lz4.LZ4FAllocFunction.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
LZ4FAllocFunction(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static LZ4FAllocFunction

Returns:

the new LZ4FAllocFunction
create
(long functionPointer)

Creates a LZ4FAllocFunction instance from the specified function pointer.

public static LZ4FAllocFunction
create(LZ4FAllocFunctionI instance)

Creates a LZ4FAllocFunction instance that delegates to the specified LZ4FAllocFunctionI instance.

public static LZ4FAllocFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LZ4FAllocFunctionback to summary
protected LZ4FAllocFunction()
LZ4FAllocFunctionback to summary
pack-priv LZ4FAllocFunction(long functionPointer)

Method Detail

createback to summary
public static LZ4FAllocFunction create(long functionPointer)

Creates a LZ4FAllocFunction instance from the specified function pointer.

Returns:LZ4FAllocFunction

the new LZ4FAllocFunction

createback to summary
public static LZ4FAllocFunction create(LZ4FAllocFunctionI instance)

Creates a LZ4FAllocFunction instance that delegates to the specified LZ4FAllocFunctionI instance.

createSafeback to summary
public static LZ4FAllocFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

private final Class LZ4FAllocFunction.Container

extends LZ4FAllocFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LZ4FAllocFunctionI

Constructor Summary

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

Method Summary

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

Implements org.lwjgl.util.lz4.LZ4FAllocFunctionI.invoke.

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

Field Detail

delegateback to summary
private final LZ4FAllocFunctionI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.util.lz4.LZ4FAllocFunctionI.invoke.

Annotations
@Override