Class RMTMalloc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.remotery.RMTMalloc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, RMTMallocI
Callback function:
rmtMallocPtr-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface RMTMallocI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic RMTMalloccreate(long functionPointer) Creates aRMTMallocinstance from the specified function pointer.static RMTMalloccreate(RMTMallocI instance) Creates aRMTMallocinstance that delegates to the specifiedRMTMallocIinstance.static @Nullable RMTMalloccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface RMTMallocI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aRMTMallocinstance from the specified function pointer.- Returns:
- the new
RMTMalloc
-
createSafe
-
create
Creates aRMTMallocinstance that delegates to the specifiedRMTMallocIinstance.
-