Class SDL_malloc_func
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.sdl.SDL_malloc_func
- All Implemented Interfaces:
AutoCloseable, SDL_malloc_funcI, CallbackI, NativeResource, Pointer
Callback function:
SDL_malloc_func-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface SDL_malloc_funcI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic SDL_malloc_funccreate(long functionPointer) Creates aSDL_malloc_funcinstance from the specified function pointer.static SDL_malloc_funccreate(SDL_malloc_funcI instance) Creates aSDL_malloc_funcinstance that delegates to the specifiedSDL_malloc_funcIinstance.static @Nullable SDL_malloc_funccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface SDL_malloc_funcI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aSDL_malloc_funcinstance from the specified function pointer.- Returns:
- the new
SDL_malloc_func
-
createSafe
-
create
Creates aSDL_malloc_funcinstance that delegates to the specifiedSDL_malloc_funcIinstance.
-