Package org.lwjgl.llvm
Class LLVMMemoryManagerAllocateCodeSectionCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallback
- All Implemented Interfaces:
AutoCloseable
,LLVMMemoryManagerAllocateCodeSectionCallbackI
,CallbackI
,NativeResource
,Pointer
public abstract class LLVMMemoryManagerAllocateCodeSectionCallback
extends Callback
implements LLVMMemoryManagerAllocateCodeSectionCallbackI
Instances of this class may be passed to the
CreateSimpleMCJITMemoryManager
method.
Type
uint8_t * (*LLVMMemoryManagerAllocateCodeSectionCallbackI.invoke(long, long, int, int, long)
) (
void *Opaque,
uintptr_t Size,
unsigned int Alignment,
unsigned int SectionID,
char const *SectionName
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(long functionPointer) Creates aLLVMMemoryManagerAllocateCodeSectionCallback
instance from the specified function pointer.Creates aLLVMMemoryManagerAllocateCodeSectionCallback
instance that delegates to the specifiedLLVMMemoryManagerAllocateCodeSectionCallbackI
instance.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.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aLLVMMemoryManagerAllocateCodeSectionCallback
instance from the specified function pointer.- Returns:
- the new
LLVMMemoryManagerAllocateCodeSectionCallback
-
createSafe
@Nullable public static LLVMMemoryManagerAllocateCodeSectionCallback createSafe(long functionPointer) -
create
public static LLVMMemoryManagerAllocateCodeSectionCallback create(LLVMMemoryManagerAllocateCodeSectionCallbackI instance) Creates aLLVMMemoryManagerAllocateCodeSectionCallback
instance that delegates to the specifiedLLVMMemoryManagerAllocateCodeSectionCallbackI
instance.
-