Package org.lwjgl.llvm
Class LLVMOrcCLookupSetElement
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCLookupSetElement
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCLookupSetElement extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceAn element type for a symbol lookup set.Layout
struct LLVMOrcCLookupSetElement { LLVMOrcSymbolStringPoolEntryRef Name; LLVMOrcSymbolLookupFlags LookupFlags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCLookupSetElement.BufferAn array ofLLVMOrcCLookupSetElementstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intLOOKUPFLAGS
NAMEThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCLookupSetElement(java.nio.ByteBuffer container)Creates aLLVMOrcCLookupSetElementinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCLookupSetElementcalloc()Returns a newLLVMOrcCLookupSetElementinstance allocated withmemCalloc.static LLVMOrcCLookupSetElement.Buffercalloc(int capacity)Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withmemCalloc.static LLVMOrcCLookupSetElement.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCLookupSetElementcalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCLookupSetElementinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCLookupSetElementcreate()Returns a newLLVMOrcCLookupSetElementinstance allocated withBufferUtils.static LLVMOrcCLookupSetElement.Buffercreate(int capacity)Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withBufferUtils.static LLVMOrcCLookupSetElementcreate(long address)Returns a newLLVMOrcCLookupSetElementinstance for the specified memory address.static LLVMOrcCLookupSetElement.Buffercreate(long address, int capacity)Create aLLVMOrcCLookupSetElement.Bufferinstance at the specified memory.static LLVMOrcCLookupSetElementcreateSafe(long address)static LLVMOrcCLookupSetElement.BuffercreateSafe(long address, int capacity)intLookupFlags()LLVMOrcCLookupSetElementLookupFlags(int value)Sets the specified value to theLookupFlagsfield.static LLVMOrcCLookupSetElementmalloc()Returns a newLLVMOrcCLookupSetElementinstance allocated withmemAlloc.static LLVMOrcCLookupSetElement.Buffermalloc(int capacity)Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withmemAlloc.static LLVMOrcCLookupSetElement.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCLookupSetElementmalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCLookupSetElementinstance allocated on the specifiedMemoryStack.longName()LLVMOrcCLookupSetElementName(long value)Sets the specified value to theNamefield.static intnLookupFlags(long struct)Unsafe version ofLookupFlags().static voidnLookupFlags(long struct, int value)Unsafe version ofLookupFlags.static longnName(long struct)Unsafe version ofName().static voidnName(long struct, long value)Unsafe version ofName.LLVMOrcCLookupSetElementset(long Name, int LookupFlags)Initializes this struct with the specified values.LLVMOrcCLookupSetElementset(LLVMOrcCLookupSetElement src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCLookupSetElement
public LLVMOrcCLookupSetElement(java.nio.ByteBuffer container)
Creates aLLVMOrcCLookupSetElementinstance 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.
-
LookupFlags
public int LookupFlags()
- Returns:
- the value of the
LookupFlagsfield.
-
Name
public LLVMOrcCLookupSetElement Name(long value)
Sets the specified value to theNamefield.
-
LookupFlags
public LLVMOrcCLookupSetElement LookupFlags(int value)
Sets the specified value to theLookupFlagsfield.
-
set
public LLVMOrcCLookupSetElement set(long Name, int LookupFlags)
Initializes this struct with the specified values.
-
set
public LLVMOrcCLookupSetElement set(LLVMOrcCLookupSetElement src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCLookupSetElement malloc()
Returns a newLLVMOrcCLookupSetElementinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCLookupSetElement calloc()
Returns a newLLVMOrcCLookupSetElementinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCLookupSetElement create()
Returns a newLLVMOrcCLookupSetElementinstance allocated withBufferUtils.
-
create
public static LLVMOrcCLookupSetElement create(long address)
Returns a newLLVMOrcCLookupSetElementinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCLookupSetElement createSafe(long address)
-
malloc
public static LLVMOrcCLookupSetElement.Buffer malloc(int capacity)
Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCLookupSetElement.Buffer calloc(int capacity)
Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCLookupSetElement.Buffer create(int capacity)
Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCLookupSetElement.Buffer create(long address, int capacity)
Create aLLVMOrcCLookupSetElement.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCLookupSetElement.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCLookupSetElement malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCLookupSetElementinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCLookupSetElement calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCLookupSetElementinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCLookupSetElement.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCLookupSetElement.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCLookupSetElement.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCLookupSetElement.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().
-
nLookupFlags
public static int nLookupFlags(long struct)
Unsafe version ofLookupFlags().
-
nName
public static void nName(long struct, long value)Unsafe version ofName.
-
nLookupFlags
public static void nLookupFlags(long struct, int value)Unsafe version ofLookupFlags.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-