Package org.lwjgl.llvm
Class LLVMOrcCSymbolFlagsMapPair
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCSymbolFlagsMapPair
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCSymbolFlagsMapPair extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents a pair of a symbol name andLLVMJITSymbolFlags.Layout
struct LLVMOrcCSymbolFlagsMapPair { LLVMOrcSymbolStringPoolEntryRef Name;LLVMJITSymbolFlagsFlags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCSymbolFlagsMapPair.BufferAn array ofLLVMOrcCSymbolFlagsMapPairstructs.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCSymbolFlagsMapPair(java.nio.ByteBuffer container)Creates aLLVMOrcCSymbolFlagsMapPairinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCSymbolFlagsMapPaircalloc()Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withmemCalloc.static LLVMOrcCSymbolFlagsMapPair.Buffercalloc(int capacity)Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withmemCalloc.static LLVMOrcCSymbolFlagsMapPair.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolFlagsMapPaircalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolFlagsMapPaircreate()Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withBufferUtils.static LLVMOrcCSymbolFlagsMapPair.Buffercreate(int capacity)Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withBufferUtils.static LLVMOrcCSymbolFlagsMapPaircreate(long address)Returns a newLLVMOrcCSymbolFlagsMapPairinstance for the specified memory address.static LLVMOrcCSymbolFlagsMapPair.Buffercreate(long address, int capacity)Create aLLVMOrcCSymbolFlagsMapPair.Bufferinstance at the specified memory.static LLVMOrcCSymbolFlagsMapPaircreateSafe(long address)static LLVMOrcCSymbolFlagsMapPair.BuffercreateSafe(long address, int capacity)LLVMJITSymbolFlagsFlags()LLVMOrcCSymbolFlagsMapPairFlags(java.util.function.Consumer<LLVMJITSymbolFlags> consumer)Passes theFlagsfield to the specifiedConsumer.LLVMOrcCSymbolFlagsMapPairFlags(LLVMJITSymbolFlags value)Copies the specifiedLLVMJITSymbolFlagsto theFlagsfield.static LLVMOrcCSymbolFlagsMapPairmalloc()Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withmemAlloc.static LLVMOrcCSymbolFlagsMapPair.Buffermalloc(int capacity)Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withmemAlloc.static LLVMOrcCSymbolFlagsMapPair.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCSymbolFlagsMapPairmalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated on the specifiedMemoryStack.longName()LLVMOrcCSymbolFlagsMapPairName(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.LLVMOrcCSymbolFlagsMapPairset(long Name, LLVMJITSymbolFlags Flags)Initializes this struct with the specified values.LLVMOrcCSymbolFlagsMapPairset(LLVMOrcCSymbolFlagsMapPair src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCSymbolFlagsMapPair
public LLVMOrcCSymbolFlagsMapPair(java.nio.ByteBuffer container)
Creates aLLVMOrcCSymbolFlagsMapPairinstance 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 LLVMOrcCSymbolFlagsMapPair Name(long value)
Sets the specified value to theNamefield.
-
Flags
public LLVMOrcCSymbolFlagsMapPair Flags(LLVMJITSymbolFlags value)
Copies the specifiedLLVMJITSymbolFlagsto theFlagsfield.
-
Flags
public LLVMOrcCSymbolFlagsMapPair Flags(java.util.function.Consumer<LLVMJITSymbolFlags> consumer)
Passes theFlagsfield to the specifiedConsumer.
-
set
public LLVMOrcCSymbolFlagsMapPair set(long Name, LLVMJITSymbolFlags Flags)
Initializes this struct with the specified values.
-
set
public LLVMOrcCSymbolFlagsMapPair set(LLVMOrcCSymbolFlagsMapPair src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCSymbolFlagsMapPair malloc()
Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCSymbolFlagsMapPair calloc()
Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCSymbolFlagsMapPair create()
Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated withBufferUtils.
-
create
public static LLVMOrcCSymbolFlagsMapPair create(long address)
Returns a newLLVMOrcCSymbolFlagsMapPairinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCSymbolFlagsMapPair createSafe(long address)
-
malloc
public static LLVMOrcCSymbolFlagsMapPair.Buffer malloc(int capacity)
Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolFlagsMapPair.Buffer calloc(int capacity)
Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolFlagsMapPair.Buffer create(int capacity)
Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolFlagsMapPair.Buffer create(long address, int capacity)
Create aLLVMOrcCSymbolFlagsMapPair.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCSymbolFlagsMapPair.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCSymbolFlagsMapPair malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCSymbolFlagsMapPair calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolFlagsMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCSymbolFlagsMapPair.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolFlagsMapPair.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolFlagsMapPair.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolFlagsMapPair.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
-
-