Package org.lwjgl.llvm
Class LLVMMemoryManagerAllocateCodeSectionCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallback
- All Implemented Interfaces:
AutoCloseable,LLVMMemoryManagerAllocateCodeSectionCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class LLVMMemoryManagerAllocateCodeSectionCallback
extends org.lwjgl.system.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
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI
CIFFields 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 aLLVMMemoryManagerAllocateCodeSectionCallbackinstance from the specified function pointer.Creates aLLVMMemoryManagerAllocateCodeSectionCallbackinstance that delegates to the specifiedLLVMMemoryManagerAllocateCodeSectionCallbackIinstance.static @Nullable LLVMMemoryManagerAllocateCodeSectionCallbackcreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.CallbackI
addressMethods inherited from interface org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aLLVMMemoryManagerAllocateCodeSectionCallbackinstance from the specified function pointer.- Returns:
- the new
LLVMMemoryManagerAllocateCodeSectionCallback
-
createSafe
public static @Nullable LLVMMemoryManagerAllocateCodeSectionCallback createSafe(long functionPointer) -
create
public static LLVMMemoryManagerAllocateCodeSectionCallback create(LLVMMemoryManagerAllocateCodeSectionCallbackI instance) Creates aLLVMMemoryManagerAllocateCodeSectionCallbackinstance that delegates to the specifiedLLVMMemoryManagerAllocateCodeSectionCallbackIinstance.
-