Package org.lwjgl.fmod
Class FMOD_MEMORY_ALLOC_CALLBACK
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.fmod.FMOD_MEMORY_ALLOC_CALLBACK
- All Implemented Interfaces:
AutoCloseable,FMOD_MEMORY_ALLOC_CALLBACKI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class FMOD_MEMORY_ALLOC_CALLBACK
extends org.lwjgl.system.Callback
implements FMOD_MEMORY_ALLOC_CALLBACKI
Type
void * (*FMOD_MEMORY_ALLOC_CALLBACKI.invoke(int, int, long)) (
unsigned int size,
FMOD_MEMORY_TYPE type,
char const *sourcestr
)-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.fmod.FMOD_MEMORY_ALLOC_CALLBACKI
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic FMOD_MEMORY_ALLOC_CALLBACKcreate(long functionPointer) Creates aFMOD_MEMORY_ALLOC_CALLBACKinstance from the specified function pointer.static FMOD_MEMORY_ALLOC_CALLBACKcreate(FMOD_MEMORY_ALLOC_CALLBACKI instance) Creates aFMOD_MEMORY_ALLOC_CALLBACKinstance that delegates to the specifiedFMOD_MEMORY_ALLOC_CALLBACKIinstance.static @Nullable FMOD_MEMORY_ALLOC_CALLBACKcreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.CallbackI
addressMethods inherited from interface org.lwjgl.fmod.FMOD_MEMORY_ALLOC_CALLBACKI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aFMOD_MEMORY_ALLOC_CALLBACKinstance from the specified function pointer.- Returns:
- the new
FMOD_MEMORY_ALLOC_CALLBACK
-
createSafe
-
create
Creates aFMOD_MEMORY_ALLOC_CALLBACKinstance that delegates to the specifiedFMOD_MEMORY_ALLOC_CALLBACKIinstance.
-