Package org.lwjgl.sdl

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

public abstract class SDL_malloc_func extends Callback implements SDL_malloc_funcI
Callback function: SDL_malloc_func
  • Method Details

    • create

      public static SDL_malloc_func create(long functionPointer)
      Creates a SDL_malloc_func instance from the specified function pointer.
      Returns:
      the new SDL_malloc_func
    • createSafe

      public static @Nullable SDL_malloc_func createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static SDL_malloc_func create(SDL_malloc_funcI instance)
      Creates a SDL_malloc_func instance that delegates to the specified SDL_malloc_funcI instance.