Package org.lwjgl.nuklear
Class NkPluginAlloc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.nuklear.NkPluginAlloc
- All Implemented Interfaces:
AutoCloseable
,NkPluginAllocI
,CallbackI
,NativeResource
,Pointer
Type
void * (*NkPluginAllocI.invoke(long, long, long)
) (
nk_handle handle,
void *old,
nk_size size
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.nuklear.NkPluginAllocI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic NkPluginAlloc
create
(long functionPointer) Creates aNkPluginAlloc
instance from the specified function pointer.static NkPluginAlloc
create
(NkPluginAllocI instance) Creates aNkPluginAlloc
instance that delegates to the specifiedNkPluginAllocI
instance.static NkPluginAlloc
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.nuklear.NkPluginAllocI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aNkPluginAlloc
instance from the specified function pointer.- Returns:
- the new
NkPluginAlloc
-
createSafe
-
create
Creates aNkPluginAlloc
instance that delegates to the specifiedNkPluginAllocI
instance.
-