Package org.lwjgl.sdl

Class SDL_TLSDestructorCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.sdl.SDL_TLSDestructorCallback
All Implemented Interfaces:
AutoCloseable, SDL_TLSDestructorCallbackI, CallbackI, NativeResource, Pointer

public abstract class SDL_TLSDestructorCallback extends Callback implements SDL_TLSDestructorCallbackI
Callback function: SDL_TLSDestructorCallback
  • Method Details

    • create

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

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

      public static SDL_TLSDestructorCallback create(SDL_TLSDestructorCallbackI instance)
      Creates a SDL_TLSDestructorCallback instance that delegates to the specified SDL_TLSDestructorCallbackI instance.