public class LLVMOptRemarkDebugLoc
extends org.lwjgl.system.Struct
SourceFile – file:SourceLineNumber – line:SourceColumnNumber – column:
struct LLVMOptRemarkDebugLoc {
LLVMOptRemarkStringRef SourceFile;
uint32_t SourceLineNumber;
uint32_t SourceColumnNumber;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMOptRemarkDebugLoc.Buffer
An array of
LLVMOptRemarkDebugLoc structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SOURCECOLUMNNUMBER
The struct member offsets.
|
static int |
SOURCEFILE
The struct member offsets.
|
static int |
SOURCELINENUMBER
The struct member offsets.
|
| Constructor and Description |
|---|
LLVMOptRemarkDebugLoc(java.nio.ByteBuffer container)
Creates a
LLVMOptRemarkDebugLoc instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LLVMOptRemarkDebugLoc |
create(long address)
Returns a new
LLVMOptRemarkDebugLoc instance for the specified memory address. |
static LLVMOptRemarkDebugLoc.Buffer |
create(long address,
int capacity)
Create a
LLVMOptRemarkDebugLoc.Buffer instance at the specified memory. |
static LLVMOptRemarkDebugLoc |
createSafe(long address)
|
static LLVMOptRemarkDebugLoc.Buffer |
createSafe(long address,
int capacity)
|
static int |
nSourceColumnNumber(long struct)
Unsafe version of
SourceColumnNumber(). |
static LLVMOptRemarkStringRef |
nSourceFile(long struct)
Unsafe version of
SourceFile(). |
static int |
nSourceLineNumber(long struct)
Unsafe version of
SourceLineNumber(). |
int |
sizeof() |
int |
SourceColumnNumber()
Returns the value of the
SourceColumnNumber field. |
LLVMOptRemarkStringRef |
SourceFile()
Returns a
LLVMOptRemarkStringRef view of the SourceFile field. |
int |
SourceLineNumber()
Returns the value of the
SourceLineNumber field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int SOURCEFILE
public static final int SOURCELINENUMBER
public static final int SOURCECOLUMNNUMBER
public LLVMOptRemarkDebugLoc(java.nio.ByteBuffer container)
LLVMOptRemarkDebugLoc instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic LLVMOptRemarkStringRef SourceFile()
LLVMOptRemarkStringRef view of the SourceFile field.public int SourceLineNumber()
SourceLineNumber field.public int SourceColumnNumber()
SourceColumnNumber field.public static LLVMOptRemarkDebugLoc create(long address)
LLVMOptRemarkDebugLoc instance for the specified memory address.@Nullable public static LLVMOptRemarkDebugLoc createSafe(long address)
public static LLVMOptRemarkDebugLoc.Buffer create(long address, int capacity)
LLVMOptRemarkDebugLoc.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LLVMOptRemarkDebugLoc.Buffer createSafe(long address, int capacity)
public static LLVMOptRemarkStringRef nSourceFile(long struct)
SourceFile().public static int nSourceLineNumber(long struct)
SourceLineNumber().public static int nSourceColumnNumber(long struct)
SourceColumnNumber().Copyright LWJGL. All Rights Reserved. License terms.