Class SDL_calloc_func
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.sdl.SDL_calloc_func
- All Implemented Interfaces:
AutoCloseable, SDL_calloc_funcI, CallbackI, NativeResource, Pointer
Callback function:
SDL_calloc_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_calloc_funcI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic SDL_calloc_funccreate(long functionPointer) Creates aSDL_calloc_funcinstance from the specified function pointer.static SDL_calloc_funccreate(SDL_calloc_funcI instance) Creates aSDL_calloc_funcinstance that delegates to the specifiedSDL_calloc_funcIinstance.static @Nullable SDL_calloc_funccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface SDL_calloc_funcI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aSDL_calloc_funcinstance from the specified function pointer.- Returns:
- the new
SDL_calloc_func
-
createSafe
-
create
Creates aSDL_calloc_funcinstance that delegates to the specifiedSDL_calloc_funcIinstance.
-