Class RMTMalloc

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.remotery.RMTMalloc
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, RMTMallocI

public abstract class RMTMalloc extends Callback implements RMTMallocI

Type


 void * (*RMTMallocI.invoke(long, int)) (
     void *mm_context,
     rmtU32 size
 )
  • Method Details

    • create

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

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

      public static RMTMalloc create(RMTMallocI instance)
      Creates a RMTMalloc instance that delegates to the specified RMTMallocI instance.