Class spng_calloc_fn

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

public abstract class spng_calloc_fn extends Callback implements spng_calloc_fnI
Callback function: spng_calloc_fn
  • Method Details

    • create

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

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

      public static spng_calloc_fn create(spng_calloc_fnI instance)
      Creates a spng_calloc_fn instance that delegates to the specified spng_calloc_fnI instance.