Class LZ4FFreeFunction

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.lz4.LZ4FFreeFunction
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, LZ4FFreeFunctionI

public abstract class LZ4FFreeFunction extends Callback implements LZ4FFreeFunctionI
Callback function: LZ4F_FreeFunction
  • Method Details

    • create

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

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

      public static LZ4FFreeFunction create(LZ4FFreeFunctionI instance)
      Creates a LZ4FFreeFunction instance that delegates to the specified LZ4FFreeFunctionI instance.