Package org.lwjgl.llvm
Class LLVMOrcCSymbolsList
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCSymbolsList
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCSymbolsList extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents a list ofLLVMOrcSymbolStringPoolEntryRefand the associated length.Layout
struct LLVMOrcCSymbolsList { LLVMOrcSymbolStringPoolEntryRef * Symbols; size_t Length; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCSymbolsList.BufferAn array ofLLVMOrcCSymbolsListstructs.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCSymbolsList(java.nio.ByteBuffer container)Creates aLLVMOrcCSymbolsListinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCSymbolsListcalloc()Returns a newLLVMOrcCSymbolsListinstance allocated withmemCalloc.static LLVMOrcCSymbolsList.Buffercalloc(int capacity)Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withmemCalloc.static LLVMOrcCSymbolsList.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolsListcalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolsListinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCSymbolsListcreate()Returns a newLLVMOrcCSymbolsListinstance allocated withBufferUtils.static LLVMOrcCSymbolsList.Buffercreate(int capacity)Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withBufferUtils.static LLVMOrcCSymbolsListcreate(long address)Returns a newLLVMOrcCSymbolsListinstance for the specified memory address.static LLVMOrcCSymbolsList.Buffercreate(long address, int capacity)Create aLLVMOrcCSymbolsList.Bufferinstance at the specified memory.static LLVMOrcCSymbolsListcreateSafe(long address)static LLVMOrcCSymbolsList.BuffercreateSafe(long address, int capacity)longLength()static LLVMOrcCSymbolsListmalloc()Returns a newLLVMOrcCSymbolsListinstance allocated withmemAlloc.static LLVMOrcCSymbolsList.Buffermalloc(int capacity)Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withmemAlloc.static LLVMOrcCSymbolsList.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCSymbolsListmalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCSymbolsListinstance allocated on the specifiedMemoryStack.static longnLength(long struct)Unsafe version ofLength().static voidnLength(long struct, long value)Sets the specified value to theLengthfield of the specifiedstruct.static org.lwjgl.PointerBuffernSymbols(long struct)Unsafe version ofSymbols.static voidnSymbols(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofSymbols.LLVMOrcCSymbolsListset(LLVMOrcCSymbolsList src)Copies the specified struct data to this struct.intsizeof()org.lwjgl.PointerBufferSymbols()LLVMOrcCSymbolsListSymbols(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theSymbolsfield.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCSymbolsList
public LLVMOrcCSymbolsList(java.nio.ByteBuffer container)
Creates aLLVMOrcCSymbolsListinstance 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
-
Symbols
public org.lwjgl.PointerBuffer Symbols()
- Returns:
- a
PointerBufferview of the data pointed to by theSymbolsfield.
-
Length
public long Length()
- Returns:
- the value of the
Lengthfield.
-
Symbols
public LLVMOrcCSymbolsList Symbols(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theSymbolsfield.
-
set
public LLVMOrcCSymbolsList set(LLVMOrcCSymbolsList src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCSymbolsList malloc()
Returns a newLLVMOrcCSymbolsListinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCSymbolsList calloc()
Returns a newLLVMOrcCSymbolsListinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCSymbolsList create()
Returns a newLLVMOrcCSymbolsListinstance allocated withBufferUtils.
-
create
public static LLVMOrcCSymbolsList create(long address)
Returns a newLLVMOrcCSymbolsListinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCSymbolsList createSafe(long address)
-
malloc
public static LLVMOrcCSymbolsList.Buffer malloc(int capacity)
Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolsList.Buffer calloc(int capacity)
Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolsList.Buffer create(int capacity)
Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCSymbolsList.Buffer create(long address, int capacity)
Create aLLVMOrcCSymbolsList.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCSymbolsList.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCSymbolsList malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolsListinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCSymbolsList calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolsListinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCSymbolsList.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCSymbolsList.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCSymbolsList.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nSymbols
public static org.lwjgl.PointerBuffer nSymbols(long struct)
Unsafe version ofSymbols.
-
nLength
public static long nLength(long struct)
Unsafe version ofLength().
-
nSymbols
public static void nSymbols(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofSymbols.
-
nLength
public static void nLength(long struct, long value)Sets the specified value to theLengthfield of the specifiedstruct.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-