Package org.lwjgl.llvm
Class LLVMOrcCDependenceMapPair
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOrcCDependenceMapPair
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class LLVMOrcCDependenceMapPair extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceRepresents a pair of aJITDylibandLLVMOrcCSymbolsList.Layout
struct LLVMOrcCDependenceMapPair { LLVMOrcJITDylibRef JD;LLVMOrcCSymbolsListNames; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMOrcCDependenceMapPair.BufferAn array ofLLVMOrcCDependenceMapPairstructs.
-
Constructor Summary
Constructors Constructor Description LLVMOrcCDependenceMapPair(java.nio.ByteBuffer container)Creates aLLVMOrcCDependenceMapPairinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOrcCDependenceMapPaircalloc()Returns a newLLVMOrcCDependenceMapPairinstance allocated withmemCalloc.static LLVMOrcCDependenceMapPair.Buffercalloc(int capacity)Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withmemCalloc.static LLVMOrcCDependenceMapPair.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCDependenceMapPaircalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCDependenceMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static LLVMOrcCDependenceMapPaircreate()Returns a newLLVMOrcCDependenceMapPairinstance allocated withBufferUtils.static LLVMOrcCDependenceMapPair.Buffercreate(int capacity)Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withBufferUtils.static LLVMOrcCDependenceMapPaircreate(long address)Returns a newLLVMOrcCDependenceMapPairinstance for the specified memory address.static LLVMOrcCDependenceMapPair.Buffercreate(long address, int capacity)Create aLLVMOrcCDependenceMapPair.Bufferinstance at the specified memory.static LLVMOrcCDependenceMapPaircreateSafe(long address)static LLVMOrcCDependenceMapPair.BuffercreateSafe(long address, int capacity)longJD()LLVMOrcCDependenceMapPairJD(long value)Sets the specified value to theJDfield.static LLVMOrcCDependenceMapPairmalloc()Returns a newLLVMOrcCDependenceMapPairinstance allocated withmemAlloc.static LLVMOrcCDependenceMapPair.Buffermalloc(int capacity)Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withmemAlloc.static LLVMOrcCDependenceMapPair.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated on the specifiedMemoryStack.static LLVMOrcCDependenceMapPairmalloc(org.lwjgl.system.MemoryStack stack)Returns a newLLVMOrcCDependenceMapPairinstance allocated on the specifiedMemoryStack.LLVMOrcCSymbolsListNames()LLVMOrcCDependenceMapPairNames(java.util.function.Consumer<LLVMOrcCSymbolsList> consumer)Passes theNamesfield to the specifiedConsumer.LLVMOrcCDependenceMapPairNames(LLVMOrcCSymbolsList value)Copies the specifiedLLVMOrcCSymbolsListto theNamesfield.static longnJD(long struct)Unsafe version ofJD.static voidnJD(long struct, long value)Unsafe version ofJD.static LLVMOrcCSymbolsListnNames(long struct)Unsafe version ofNames().static voidnNames(long struct, LLVMOrcCSymbolsList value)Unsafe version ofNames.LLVMOrcCDependenceMapPairset(long JD, LLVMOrcCSymbolsList Names)Initializes this struct with the specified values.LLVMOrcCDependenceMapPairset(LLVMOrcCDependenceMapPair src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
LLVMOrcCDependenceMapPair
public LLVMOrcCDependenceMapPair(java.nio.ByteBuffer container)
Creates aLLVMOrcCDependenceMapPairinstance 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
-
JD
public long JD()
- Returns:
- the value of the
JDfield.
-
Names
public LLVMOrcCSymbolsList Names()
- Returns:
- a
LLVMOrcCSymbolsListview of theNamesfield.
-
JD
public LLVMOrcCDependenceMapPair JD(long value)
Sets the specified value to theJDfield.
-
Names
public LLVMOrcCDependenceMapPair Names(LLVMOrcCSymbolsList value)
Copies the specifiedLLVMOrcCSymbolsListto theNamesfield.
-
Names
public LLVMOrcCDependenceMapPair Names(java.util.function.Consumer<LLVMOrcCSymbolsList> consumer)
Passes theNamesfield to the specifiedConsumer.
-
set
public LLVMOrcCDependenceMapPair set(long JD, LLVMOrcCSymbolsList Names)
Initializes this struct with the specified values.
-
set
public LLVMOrcCDependenceMapPair set(LLVMOrcCDependenceMapPair src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static LLVMOrcCDependenceMapPair malloc()
Returns a newLLVMOrcCDependenceMapPairinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static LLVMOrcCDependenceMapPair calloc()
Returns a newLLVMOrcCDependenceMapPairinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static LLVMOrcCDependenceMapPair create()
Returns a newLLVMOrcCDependenceMapPairinstance allocated withBufferUtils.
-
create
public static LLVMOrcCDependenceMapPair create(long address)
Returns a newLLVMOrcCDependenceMapPairinstance for the specified memory address.
-
createSafe
@Nullable public static LLVMOrcCDependenceMapPair createSafe(long address)
-
malloc
public static LLVMOrcCDependenceMapPair.Buffer malloc(int capacity)
Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static LLVMOrcCDependenceMapPair.Buffer calloc(int capacity)
Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCDependenceMapPair.Buffer create(int capacity)
Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static LLVMOrcCDependenceMapPair.Buffer create(long address, int capacity)
Create aLLVMOrcCDependenceMapPair.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static LLVMOrcCDependenceMapPair.Buffer createSafe(long address, int capacity)
-
malloc
public static LLVMOrcCDependenceMapPair malloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCDependenceMapPairinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static LLVMOrcCDependenceMapPair calloc(org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCDependenceMapPairinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static LLVMOrcCDependenceMapPair.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static LLVMOrcCDependenceMapPair.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newLLVMOrcCDependenceMapPair.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nJD
public static long nJD(long struct)
Unsafe version ofJD.
-
nNames
public static LLVMOrcCSymbolsList nNames(long struct)
Unsafe version ofNames().
-
nJD
public static void nJD(long struct, long value)Unsafe version ofJD.
-
nNames
public static void nNames(long struct, LLVMOrcCSymbolsList value)Unsafe version ofNames.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-