Package org.lwjgl.llvm
Class CXSourceRangeList
- All Implemented Interfaces:
Pointer
struct CXSourceRangeList {
unsigned count;
CXSourceRange * ranges;
}-
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCXSourceRangeList(ByteBuffer container) Creates aCXSourceRangeListinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintcount()static CXSourceRangeListcreate(long address) Returns a newCXSourceRangeListinstance for the specified memory address.static CXSourceRangeList.Buffercreate(long address, int capacity) Create aCXSourceRangeList.Bufferinstance at the specified memory.static @Nullable CXSourceRangeListcreateSafe(long address) static @Nullable CXSourceRangeList.BuffercreateSafe(long address, int capacity) static intncount(long struct) Unsafe version ofcount().static CXSourceRange.Buffernranges(long struct) Unsafe version ofranges().ranges()intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
COUNT
public static final int COUNTThe struct member offsets. -
RANGES
public static final int RANGESThe struct member offsets.
-
-
Constructor Details
-
CXSourceRangeList
Creates aCXSourceRangeListinstance 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<CXSourceRangeList>
-
count
public int count()- Returns:
- the value of the
countfield.
-
ranges
- Returns:
- a
CXSourceRange.Bufferview of the struct array pointed to by therangesfield.
-
create
Returns a newCXSourceRangeListinstance for the specified memory address. -
createSafe
-
create
Create aCXSourceRangeList.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ncount
public static int ncount(long struct) Unsafe version ofcount(). -
nranges
Unsafe version ofranges().
-