Package org.lwjgl.system.jemalloc
Interface ChunkMergeI
-
- All Superinterfaces:
- CallbackI, CallbackI.Z, Pointer
- All Known Implementing Classes:
- ChunkMerge
@FunctionalInterface public interface ChunkMergeI extends CallbackI.Z
Instances of this interface may be set to theChunkHooks
struct.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default long
address()
Returns the raw pointer address as along
value.default boolean
callback(long args)
Will be called by native code.boolean
invoke(long chunk_a, long size_a, long chunk_b, long size_b, boolean committed, int arena_ind)
Chunk merge hook.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
callback
default boolean callback(long args)
Description copied from interface:CallbackI.Z
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.Z
- Parameters:
args
- pointer to aDCArgs
iterator- Returns:
- the value to store to the result
DCValue
-
invoke
boolean invoke(long chunk_a, long size_a, long chunk_b, long size_b, boolean committed, int arena_ind)
Chunk merge hook.- Parameters:
chunk_a
-size_a
-chunk_b
-size_b
-committed
-arena_ind
-
-
-