Class spng_malloc_fn

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.spng.spng_malloc_fn
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, spng_malloc_fnI

public abstract class spng_malloc_fn extends Callback implements spng_malloc_fnI
Callback function: spng_malloc_fn
  • Method Details

    • create

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

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

      public static spng_malloc_fn create(spng_malloc_fnI instance)
      Creates a spng_malloc_fn instance that delegates to the specified spng_malloc_fnI instance.