Class LZ4FAllocFunction

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

public abstract class LZ4FAllocFunction extends Callback implements LZ4FAllocFunctionI
Callback function: LZ4F_AllocFunction
  • Method Details

    • create

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

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

      public static LZ4FAllocFunction create(LZ4FAllocFunctionI instance)
      Creates a LZ4FAllocFunction instance that delegates to the specified LZ4FAllocFunctionI instance.