Package org.lwjgl.llvm
Class LLVMOrcCSymbolAliasMapEntry
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCSymbolAliasMapEntry
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCSymbolAliasMapEntry extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents aSymbolAliasMapEntryLayout
struct LLVMOrcCSymbolAliasMapEntry { LLVMOrcSymbolStringPoolEntryRef Name;LLVMJITSymbolFlagsFlags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCSymbolAliasMapEntry.BufferAn array ofLLVMOrcCSymbolAliasMapEntrystructs.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCSymbolAliasMapEntry(java.nio.ByteBuffer container)Creates aLLVMOrcCSymbolAliasMapEntryinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCSymbolAliasMapEntrycalloc()Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withmemCalloc.static LLVMOrcCSymbolAliasMapEntry.Buffercalloc(int capacity)Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withmemCalloc.static LLVMOrcCSymbolAliasMapEntry.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolAliasMapEntrycalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolAliasMapEntrycreate()Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withBufferUtils.static LLVMOrcCSymbolAliasMapEntry.Buffercreate(int capacity)Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withBufferUtils.static LLVMOrcCSymbolAliasMapEntrycreate(long address)Returns a newLLVMOrcCSymbolAliasMapEntryinstance for the specified memory address.static LLVMOrcCSymbolAliasMapEntry.Buffercreate(long address, int capacity)Create aLLVMOrcCSymbolAliasMapEntry.Bufferinstance at the specified memory.static LLVMOrcCSymbolAliasMapEntrycreateSafe(long address)static LLVMOrcCSymbolAliasMapEntry.BuffercreateSafe(long address, int capacity)LLVMJITSymbolFlagsFlags()LLVMOrcCSymbolAliasMapEntryFlags(java.util.function.Consumer<LLVMJITSymbolFlags> consumer)Passes theFlagsfield to the specifiedConsumer.LLVMOrcCSymbolAliasMapEntryFlags(LLVMJITSymbolFlags value)Copies the specifiedLLVMJITSymbolFlagsto theFlagsfield.static LLVMOrcCSymbolAliasMapEntrymalloc()Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withmemAlloc.static LLVMOrcCSymbolAliasMapEntry.Buffermalloc(int capacity)Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withmemAlloc.static LLVMOrcCSymbolAliasMapEntry.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCSymbolAliasMapEntrymalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated on the specifiedMemoryStack.longName()LLVMOrcCSymbolAliasMapEntryName(long value)Sets the specified value to theNamefield.static LLVMJITSymbolFlagsnFlags(long struct)Unsafe version ofFlags().static voidnFlags(long struct, LLVMJITSymbolFlags value)Unsafe version ofFlags.static longnName(long struct)Unsafe version ofName().static voidnName(long struct, long value)Unsafe version ofName.LLVMOrcCSymbolAliasMapEntryset(long Name, LLVMJITSymbolFlags Flags)Initializes this struct with the specified values.LLVMOrcCSymbolAliasMapEntryset(LLVMOrcCSymbolAliasMapEntry src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCSymbolAliasMapEntry
public LLVMOrcCSymbolAliasMapEntry(java.nio.ByteBuffer container)
Creates aLLVMOrcCSymbolAliasMapEntryinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
Name
public long Name()
- Returns:
- the value of the
Namefield.
-
Flags
public LLVMJITSymbolFlags Flags()
- Returns:
- a
LLVMJITSymbolFlagsview of theFlagsfield.
-
Name
public LLVMOrcCSymbolAliasMapEntry Name(long value)
Sets the specified value to theNamefield.
-
Flags
public LLVMOrcCSymbolAliasMapEntry Flags(LLVMJITSymbolFlags value)
Copies the specifiedLLVMJITSymbolFlagsto theFlagsfield.
-
Flags
public LLVMOrcCSymbolAliasMapEntry Flags(java.util.function.Consumer<LLVMJITSymbolFlags> consumer)
Passes theFlagsfield to the specifiedConsumer.
-
set
public LLVMOrcCSymbolAliasMapEntry set(long Name, LLVMJITSymbolFlags Flags)
Initializes this struct with the specified values.
-
set
public LLVMOrcCSymbolAliasMapEntry set(LLVMOrcCSymbolAliasMapEntry src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCSymbolAliasMapEntry malloc()
Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCSymbolAliasMapEntry calloc()
Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCSymbolAliasMapEntry create()
Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated withBufferUtils.
-
create
public static LLVMOrcCSymbolAliasMapEntry create(long address)
Returns a newLLVMOrcCSymbolAliasMapEntryinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCSymbolAliasMapEntry createSafe(long address)
-
malloc
public static LLVMOrcCSymbolAliasMapEntry.Buffer malloc(int capacity)
Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolAliasMapEntry.Buffer calloc(int capacity)
Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolAliasMapEntry.Buffer create(int capacity)
Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolAliasMapEntry.Buffer create(long address, int capacity)
Create aLLVMOrcCSymbolAliasMapEntry.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCSymbolAliasMapEntry.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCSymbolAliasMapEntry malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCSymbolAliasMapEntry calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCSymbolAliasMapEntry.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolAliasMapEntry.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nName
public static long nName(long struct)
Unsafe version ofName().
-
nFlags
public static LLVMJITSymbolFlags nFlags(long struct)
Unsafe version ofFlags().
-
nName
public static void nName(long struct, long value)Unsafe version ofName.
-
nFlags
public static void nFlags(long struct, LLVMJITSymbolFlags value)Unsafe version ofFlags.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-