Package org.lwjgl.llvm
Class LLVMOrcCSymbolAliasMapPair
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCSymbolAliasMapPair
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCSymbolAliasMapPair extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents a pair of a symbol name andSymbolAliasMapEntry.Layout
struct LLVMOrcCSymbolAliasMapPair { LLVMOrcSymbolStringPoolEntryRef Name;LLVMOrcCSymbolAliasMapEntryEntry; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCSymbolAliasMapPair.BufferAn array ofLLVMOrcCSymbolAliasMapPairstructs.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCSymbolAliasMapPair(java.nio.ByteBuffer container)Creates aLLVMOrcCSymbolAliasMapPairinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCSymbolAliasMapPaircalloc()Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withmemCalloc.static LLVMOrcCSymbolAliasMapPair.Buffercalloc(int capacity)Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withmemCalloc.static LLVMOrcCSymbolAliasMapPair.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolAliasMapPaircalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolAliasMapPaircreate()Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withBufferUtils.static LLVMOrcCSymbolAliasMapPair.Buffercreate(int capacity)Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withBufferUtils.static LLVMOrcCSymbolAliasMapPaircreate(long address)Returns a newLLVMOrcCSymbolAliasMapPairinstance for the specified memory address.static LLVMOrcCSymbolAliasMapPair.Buffercreate(long address, int capacity)Create aLLVMOrcCSymbolAliasMapPair.Bufferinstance at the specified memory.static LLVMOrcCSymbolAliasMapPaircreateSafe(long address)static LLVMOrcCSymbolAliasMapPair.BuffercreateSafe(long address, int capacity)LLVMOrcCSymbolAliasMapEntryEntry()LLVMOrcCSymbolAliasMapPairEntry(java.util.function.Consumer<LLVMOrcCSymbolAliasMapEntry> consumer)Passes theEntryfield to the specifiedConsumer.LLVMOrcCSymbolAliasMapPairEntry(LLVMOrcCSymbolAliasMapEntry value)Copies the specifiedLLVMOrcCSymbolAliasMapEntryto theEntryfield.static LLVMOrcCSymbolAliasMapPairmalloc()Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withmemAlloc.static LLVMOrcCSymbolAliasMapPair.Buffermalloc(int capacity)Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withmemAlloc.static LLVMOrcCSymbolAliasMapPair.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCSymbolAliasMapPairmalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated on the specifiedMemoryStack.longName()LLVMOrcCSymbolAliasMapPairName(long value)Sets the specified value to theNamefield.static LLVMOrcCSymbolAliasMapEntrynEntry(long struct)Unsafe version ofEntry().static voidnEntry(long struct, LLVMOrcCSymbolAliasMapEntry value)Unsafe version ofEntry.static longnName(long struct)Unsafe version ofName().static voidnName(long struct, long value)Unsafe version ofName.LLVMOrcCSymbolAliasMapPairset(long Name, LLVMOrcCSymbolAliasMapEntry Entry)Initializes this struct with the specified values.LLVMOrcCSymbolAliasMapPairset(LLVMOrcCSymbolAliasMapPair src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCSymbolAliasMapPair
public LLVMOrcCSymbolAliasMapPair(java.nio.ByteBuffer container)
Creates aLLVMOrcCSymbolAliasMapPairinstance 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.
-
Entry
public LLVMOrcCSymbolAliasMapEntry Entry()
- Returns:
- a
LLVMOrcCSymbolAliasMapEntryview of theEntryfield.
-
Name
public LLVMOrcCSymbolAliasMapPair Name(long value)
Sets the specified value to theNamefield.
-
Entry
public LLVMOrcCSymbolAliasMapPair Entry(LLVMOrcCSymbolAliasMapEntry value)
Copies the specifiedLLVMOrcCSymbolAliasMapEntryto theEntryfield.
-
Entry
public LLVMOrcCSymbolAliasMapPair Entry(java.util.function.Consumer<LLVMOrcCSymbolAliasMapEntry> consumer)
Passes theEntryfield to the specifiedConsumer.
-
set
public LLVMOrcCSymbolAliasMapPair set(long Name, LLVMOrcCSymbolAliasMapEntry Entry)
Initializes this struct with the specified values.
-
set
public LLVMOrcCSymbolAliasMapPair set(LLVMOrcCSymbolAliasMapPair src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCSymbolAliasMapPair malloc()
Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCSymbolAliasMapPair calloc()
Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCSymbolAliasMapPair create()
Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated withBufferUtils.
-
create
public static LLVMOrcCSymbolAliasMapPair create(long address)
Returns a newLLVMOrcCSymbolAliasMapPairinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCSymbolAliasMapPair createSafe(long address)
-
malloc
public static LLVMOrcCSymbolAliasMapPair.Buffer malloc(int capacity)
Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolAliasMapPair.Buffer calloc(int capacity)
Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolAliasMapPair.Buffer create(int capacity)
Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolAliasMapPair.Buffer create(long address, int capacity)
Create aLLVMOrcCSymbolAliasMapPair.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCSymbolAliasMapPair.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCSymbolAliasMapPair malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCSymbolAliasMapPair calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCSymbolAliasMapPair.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapPair.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolAliasMapPair.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolAliasMapPair.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().
-
nEntry
public static LLVMOrcCSymbolAliasMapEntry nEntry(long struct)
Unsafe version ofEntry().
-
nName
public static void nName(long struct, long value)Unsafe version ofName.
-
nEntry
public static void nEntry(long struct, LLVMOrcCSymbolAliasMapEntry value)Unsafe version ofEntry.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-