Package org.lwjgl.llvm
Class CXIdxObjCProtocolRefListInfo
- All Implemented Interfaces:
Pointer
struct CXIdxObjCProtocolRefListInfo {
{@link CXIdxObjCProtocolRefInfo CXIdxObjCProtocolRefInfo} const * const * protocols;
unsigned numProtocols;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCXIdxObjCProtocolRefListInfo
(ByteBuffer container) Creates aCXIdxObjCProtocolRefListInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxObjCProtocolRefListInfo
create
(long address) Returns a newCXIdxObjCProtocolRefListInfo
instance for the specified memory address.create
(long address, int capacity) Create aCXIdxObjCProtocolRefListInfo.Buffer
instance at the specified memory.static @Nullable CXIdxObjCProtocolRefListInfo
createSafe
(long address) static @Nullable CXIdxObjCProtocolRefListInfo.Buffer
createSafe
(long address, int capacity) static int
nnumProtocols
(long struct) Unsafe version ofnumProtocols()
.static PointerBuffer
nprotocols
(long struct) Unsafe version ofprotocols
.int
int
sizeof()
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. -
PROTOCOLS
public static final int PROTOCOLSThe struct member offsets. -
NUMPROTOCOLS
public static final int NUMPROTOCOLSThe struct member offsets.
-
-
Constructor Details
-
CXIdxObjCProtocolRefListInfo
Creates aCXIdxObjCProtocolRefListInfo
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<CXIdxObjCProtocolRefListInfo>
-
protocols
- Returns:
- a
PointerBuffer
view of the data pointed to by theprotocols
field.
-
numProtocols
public int numProtocols()- Returns:
- the value of the
numProtocols
field.
-
create
Returns a newCXIdxObjCProtocolRefListInfo
instance for the specified memory address. -
createSafe
-
create
Create aCXIdxObjCProtocolRefListInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
nprotocols
Unsafe version ofprotocols
. -
nnumProtocols
public static int nnumProtocols(long struct) Unsafe version ofnumProtocols()
.
-