Class ExtentAlloc

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.system.jemalloc.ExtentAlloc
All Implemented Interfaces:
AutoCloseable, CallbackI, ExtentAllocI, NativeResource, Pointer

public abstract class ExtentAlloc extends Callback implements ExtentAllocI
Callback function: extent_alloc_t
  • Method Details

    • create

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

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

      public static ExtentAlloc create(ExtentAllocI instance)
      Creates a ExtentAlloc instance that delegates to the specified ExtentAllocI instance.