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

public abstract Class RMTMalloc

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

Type


void * (*invoke) (
    void *mm_context,
    rmtU32 size
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static RMTMalloc

Returns:

the new RMTMalloc
create
(long functionPointer)

Creates a RMTMalloc instance from the specified function pointer.

public static RMTMalloc
create(RMTMallocI instance)

Creates a RMTMalloc instance that delegates to the specified RMTMallocI instance.

public static RMTMalloc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

RMTMallocback to summary
protected RMTMalloc()
RMTMallocback to summary
pack-priv RMTMalloc(long functionPointer)

Method Detail

createback to summary
public static RMTMalloc create(long functionPointer)

Creates a RMTMalloc instance from the specified function pointer.

Returns:RMTMalloc

the new RMTMalloc

createback to summary
public static RMTMalloc create(RMTMallocI instance)

Creates a RMTMalloc instance that delegates to the specified RMTMallocI instance.

createSafeback to summary
public static RMTMalloc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

private final Class RMTMalloc.Container

extends RMTMalloc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final RMTMallocI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long mm_context, int size)

Implements org.lwjgl.util.remotery.RMTMallocI.invoke.

Inherited from org.lwjgl.util.remotery.RMTMalloc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final RMTMallocI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long mm_context, int size)

Implements org.lwjgl.util.remotery.RMTMallocI.invoke.

Annotations
@Override