Class LZ4FCallocFunction

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

public abstract class LZ4FCallocFunction extends Callback implements LZ4FCallocFunctionI
Callback function: LZ4F_CallocFunction
  • Method Details

    • create

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

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

      public static LZ4FCallocFunction create(LZ4FCallocFunctionI instance)
      Creates a LZ4FCallocFunction instance that delegates to the specified LZ4FCallocFunctionI instance.