Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMMemoryManagerAllocateCodeSectionCallback

extends Callback
implements LLVMMemoryManagerAllocateCodeSectionCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the CreateSimpleMCJITMemoryManager method.

Type


uint8_t * (*invoke) (
    void *Opaque,
    uintptr_t Size,
    unsigned int Alignment,
    unsigned int SectionID,
    char const *SectionName
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static LLVMMemoryManagerAllocateCodeSectionCallback

Returns:

the new LLVMMemoryManagerAllocateCodeSectionCallback
create
(long functionPointer)

Creates a LLVMMemoryManagerAllocateCodeSectionCallback instance from the specified function pointer.

public static LLVMMemoryManagerAllocateCodeSectionCallback
create(LLVMMemoryManagerAllocateCodeSectionCallbackI instance)

Creates a LLVMMemoryManagerAllocateCodeSectionCallback instance that delegates to the specified LLVMMemoryManagerAllocateCodeSectionCallbackI instance.

public static LLVMMemoryManagerAllocateCodeSectionCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMMemoryManagerAllocateCodeSectionCallbackback to summary
protected LLVMMemoryManagerAllocateCodeSectionCallback()
LLVMMemoryManagerAllocateCodeSectionCallbackback to summary
pack-priv LLVMMemoryManagerAllocateCodeSectionCallback(long functionPointer)

Method Detail

createback to summary
public static LLVMMemoryManagerAllocateCodeSectionCallback create(long functionPointer)

Creates a LLVMMemoryManagerAllocateCodeSectionCallback instance from the specified function pointer.

Returns:LLVMMemoryManagerAllocateCodeSectionCallback

the new LLVMMemoryManagerAllocateCodeSectionCallback

createback to summary
public static LLVMMemoryManagerAllocateCodeSectionCallback create(LLVMMemoryManagerAllocateCodeSectionCallbackI instance)

Creates a LLVMMemoryManagerAllocateCodeSectionCallback instance that delegates to the specified LLVMMemoryManagerAllocateCodeSectionCallbackI instance.

createSafeback to summary
public static LLVMMemoryManagerAllocateCodeSectionCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMMemoryManagerAllocateCodeSectionCallback.Container

extends LLVMMemoryManagerAllocateCodeSectionCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMMemoryManagerAllocateCodeSectionCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long Opaque, long Size, int Alignment, int SectionID, long SectionName)

Implements org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI.invoke.

Inherited from org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMMemoryManagerAllocateCodeSectionCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, LLVMMemoryManagerAllocateCodeSectionCallbackI delegate)

Method Detail

invokeback to summary
public long invoke(long Opaque, long Size, int Alignment, int SectionID, long SectionName)

Implements org.lwjgl.llvm.LLVMMemoryManagerAllocateCodeSectionCallbackI.invoke.

Annotations
@Override