Top Description Inners Constructors Methods
org.lwjgl.nuklear

public abstract Class NkPluginAlloc

extends Callback
implements NkPluginAllocI
Class Inheritance
All Implemented Interfaces
org.lwjgl.nuklear.NkPluginAllocI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.nuklear.NkPluginAlloc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


void * (*invoke) (
    nk_handle handle,
    void *old,
    nk_size size
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static NkPluginAlloc

Returns:

the new NkPluginAlloc
create
(long functionPointer)

Creates a NkPluginAlloc instance from the specified function pointer.

public static NkPluginAlloc
create(NkPluginAllocI instance)

Creates a NkPluginAlloc instance that delegates to the specified NkPluginAllocI instance.

public static NkPluginAlloc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

NkPluginAllocback to summary
protected NkPluginAlloc()
NkPluginAllocback to summary
pack-priv NkPluginAlloc(long functionPointer)

Method Detail

createback to summary
public static NkPluginAlloc create(long functionPointer)

Creates a NkPluginAlloc instance from the specified function pointer.

Returns:NkPluginAlloc

the new NkPluginAlloc

createback to summary
public static NkPluginAlloc create(NkPluginAllocI instance)

Creates a NkPluginAlloc instance that delegates to the specified NkPluginAllocI instance.

createSafeback to summary
public static NkPluginAlloc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.nuklear back to summary

private final Class NkPluginAlloc.Container

extends NkPluginAlloc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final NkPluginAllocI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long handle, long old, long size)

Implements org.lwjgl.nuklear.NkPluginAllocI.invoke.

Inherited from org.lwjgl.nuklear.NkPluginAlloc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final NkPluginAllocI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long handle, long old, long size)

Implements org.lwjgl.nuklear.NkPluginAllocI.invoke.

Annotations
@Override