Top Description Inners Constructors Methods
org.lwjgl.fmod

public abstract Class FMOD_MEMORY_REALLOC_CALLBACK

extends Callback
implements FMOD_MEMORY_REALLOC_CALLBACKI
Class Inheritance
All Implemented Interfaces
org.lwjgl.fmod.FMOD_MEMORY_REALLOC_CALLBACKI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.fmod.FMOD_MEMORY_REALLOC_CALLBACK.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


void * (*invoke) (
    void *ptr,
    unsigned int size,
    FMOD_MEMORY_TYPE type,
    char const *sourcestr
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static FMOD_MEMORY_REALLOC_CALLBACK

Returns:

the new FMOD_MEMORY_REALLOC_CALLBACK
create
(long functionPointer)

Creates a FMOD_MEMORY_REALLOC_CALLBACK instance from the specified function pointer.

public static FMOD_MEMORY_REALLOC_CALLBACK
create(FMOD_MEMORY_REALLOC_CALLBACKI instance)

Creates a FMOD_MEMORY_REALLOC_CALLBACK instance that delegates to the specified FMOD_MEMORY_REALLOC_CALLBACKI instance.

public static FMOD_MEMORY_REALLOC_CALLBACK
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

FMOD_MEMORY_REALLOC_CALLBACKback to summary
protected FMOD_MEMORY_REALLOC_CALLBACK()
FMOD_MEMORY_REALLOC_CALLBACKback to summary
pack-priv FMOD_MEMORY_REALLOC_CALLBACK(long functionPointer)

Method Detail

createback to summary
public static FMOD_MEMORY_REALLOC_CALLBACK create(long functionPointer)

Creates a FMOD_MEMORY_REALLOC_CALLBACK instance from the specified function pointer.

Returns:FMOD_MEMORY_REALLOC_CALLBACK

the new FMOD_MEMORY_REALLOC_CALLBACK

createback to summary
public static FMOD_MEMORY_REALLOC_CALLBACK create(FMOD_MEMORY_REALLOC_CALLBACKI instance)

Creates a FMOD_MEMORY_REALLOC_CALLBACK instance that delegates to the specified FMOD_MEMORY_REALLOC_CALLBACKI instance.

createSafeback to summary
public static FMOD_MEMORY_REALLOC_CALLBACK createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.fmod back to summary

private final Class FMOD_MEMORY_REALLOC_CALLBACK.Container

extends FMOD_MEMORY_REALLOC_CALLBACK
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final FMOD_MEMORY_REALLOC_CALLBACKI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long ptr, int size, int type, long sourcestr)

Implements org.lwjgl.fmod.FMOD_MEMORY_REALLOC_CALLBACKI.invoke.

Inherited from org.lwjgl.fmod.FMOD_MEMORY_REALLOC_CALLBACK:
createcreatecreateSafe

Field Detail

delegateback to summary
private final FMOD_MEMORY_REALLOC_CALLBACKI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long ptr, int size, int type, long sourcestr)

Implements org.lwjgl.fmod.FMOD_MEMORY_REALLOC_CALLBACKI.invoke.

Annotations
@Override