Package org.lwjgl.llvm
Class CXIdxDeclInfo
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct CXIdxDeclInfo {
{@link CXIdxEntityInfo CXIdxEntityInfo} const * entityInfo;
{@link CXCursor CXCursor} cursor;
{@link CXIdxLoc CXIdxLoc} loc;
{@link CXIdxContainerInfo CXIdxContainerInfo} const * semanticContainer;
{@link CXIdxContainerInfo CXIdxContainerInfo} const * lexicalContainer;
int isRedeclaration;
int isDefinition;
int isContainer;
{@link CXIdxContainerInfo CXIdxContainerInfo} const * declAsContainer;
int isImplicit;
{@link CXIdxAttrInfo CXIdxAttrInfo} const * const * attributes;
unsigned numAttributes;
unsigned flags;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCXIdxDeclInfo(ByteBuffer container) Creates aCXIdxDeclInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxDeclInfocalloc()Returns a newCXIdxDeclInfoinstance allocated withmemCalloc.static CXIdxDeclInfo.Buffercalloc(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemCalloc.static CXIdxDeclInfo.Buffercalloc(int capacity, MemoryStack stack) Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxDeclInfocalloc(MemoryStack stack) Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxDeclInfoDeprecated.static CXIdxDeclInfo.BuffercallocStack(int capacity) Deprecated.static CXIdxDeclInfo.BuffercallocStack(int capacity, MemoryStack stack) Deprecated.static CXIdxDeclInfocallocStack(MemoryStack stack) Deprecated.static CXIdxDeclInfocreate()Returns a newCXIdxDeclInfoinstance allocated withBufferUtils.static CXIdxDeclInfo.Buffercreate(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withBufferUtils.static CXIdxDeclInfocreate(long address) Returns a newCXIdxDeclInfoinstance for the specified memory address.static CXIdxDeclInfo.Buffercreate(long address, int capacity) Create aCXIdxDeclInfo.Bufferinstance at the specified memory.static @Nullable CXIdxDeclInfocreateSafe(long address) static @Nullable CXIdxDeclInfo.BuffercreateSafe(long address, int capacity) cursor()intflags()booleanbooleanbooleanbooleanloc()static CXIdxDeclInfomalloc()Returns a newCXIdxDeclInfoinstance allocated withmemAlloc.static CXIdxDeclInfo.Buffermalloc(int capacity) Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemAlloc.static CXIdxDeclInfo.Buffermalloc(int capacity, MemoryStack stack) Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStack.static CXIdxDeclInfomalloc(MemoryStack stack) Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStack.static CXIdxDeclInfoDeprecated.static CXIdxDeclInfo.BuffermallocStack(int capacity) Deprecated.static CXIdxDeclInfo.BuffermallocStack(int capacity, MemoryStack stack) Deprecated.static CXIdxDeclInfomallocStack(MemoryStack stack) Deprecated.static PointerBuffernattributes(long struct) Unsafe version ofattributes.static CXCursorncursor(long struct) Unsafe version ofcursor().static CXIdxContainerInfondeclAsContainer(long struct) Unsafe version ofdeclAsContainer().static CXIdxEntityInfonentityInfo(long struct) Unsafe version ofentityInfo().static intnflags(long struct) Unsafe version offlags().static intnisContainer(long struct) Unsafe version ofisContainer().static intnisDefinition(long struct) Unsafe version ofisDefinition().static intnisImplicit(long struct) Unsafe version ofisImplicit().static intnisRedeclaration(long struct) Unsafe version ofisRedeclaration().static CXIdxContainerInfonlexicalContainer(long struct) Unsafe version oflexicalContainer().static CXIdxLocnloc(long struct) Unsafe version ofloc().static intnnumAttributes(long struct) Unsafe version ofnumAttributes().static CXIdxContainerInfonsemanticContainer(long struct) Unsafe version ofsemanticContainer().intintsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
ENTITYINFO
public static final int ENTITYINFOThe struct member offsets. -
CURSOR
public static final int CURSORThe struct member offsets. -
LOC
public static final int LOCThe struct member offsets. -
SEMANTICCONTAINER
public static final int SEMANTICCONTAINERThe struct member offsets. -
LEXICALCONTAINER
public static final int LEXICALCONTAINERThe struct member offsets. -
ISREDECLARATION
public static final int ISREDECLARATIONThe struct member offsets. -
ISDEFINITION
public static final int ISDEFINITIONThe struct member offsets. -
ISCONTAINER
public static final int ISCONTAINERThe struct member offsets. -
DECLASCONTAINER
public static final int DECLASCONTAINERThe struct member offsets. -
ISIMPLICIT
public static final int ISIMPLICITThe struct member offsets. -
ATTRIBUTES
public static final int ATTRIBUTESThe struct member offsets. -
NUMATTRIBUTES
public static final int NUMATTRIBUTESThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets.
-
-
Constructor Details
-
CXIdxDeclInfo
Creates aCXIdxDeclInfoinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<CXIdxDeclInfo>
-
entityInfo
- Returns:
- a
CXIdxEntityInfoview of the struct pointed to by theentityInfofield.
-
cursor
- Returns:
- a
CXCursorview of thecursorfield.
-
loc
- Returns:
- a
CXIdxLocview of thelocfield.
-
semanticContainer
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thesemanticContainerfield.
-
lexicalContainer
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thelexicalContainerfield.
-
isRedeclaration
public boolean isRedeclaration()- Returns:
- the value of the
isRedeclarationfield.
-
isDefinition
public boolean isDefinition()- Returns:
- the value of the
isDefinitionfield.
-
isContainer
public boolean isContainer()- Returns:
- the value of the
isContainerfield.
-
declAsContainer
- Returns:
- a
CXIdxContainerInfoview of the struct pointed to by thedeclAsContainerfield.
-
isImplicit
public boolean isImplicit()- Returns:
- the value of the
isImplicitfield.
-
attributes
- Returns:
- a
PointerBufferview of the data pointed to by theattributesfield.
-
numAttributes
public int numAttributes()- Returns:
- the value of the
numAttributesfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
malloc
Returns a newCXIdxDeclInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newCXIdxDeclInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newCXIdxDeclInfoinstance allocated withBufferUtils. -
create
Returns a newCXIdxDeclInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newCXIdxDeclInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aCXIdxDeclInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newCXIdxDeclInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newCXIdxDeclInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nentityInfo
Unsafe version ofentityInfo(). -
ncursor
Unsafe version ofcursor(). -
nloc
Unsafe version ofloc(). -
nsemanticContainer
Unsafe version ofsemanticContainer(). -
nlexicalContainer
Unsafe version oflexicalContainer(). -
nisRedeclaration
public static int nisRedeclaration(long struct) Unsafe version ofisRedeclaration(). -
nisDefinition
public static int nisDefinition(long struct) Unsafe version ofisDefinition(). -
nisContainer
public static int nisContainer(long struct) Unsafe version ofisContainer(). -
ndeclAsContainer
Unsafe version ofdeclAsContainer(). -
nisImplicit
public static int nisImplicit(long struct) Unsafe version ofisImplicit(). -
nattributes
Unsafe version ofattributes. -
nnumAttributes
public static int nnumAttributes(long struct) Unsafe version ofnumAttributes(). -
nflags
public static int nflags(long struct) Unsafe version offlags().
-