Package org.lwjgl.llvm
Class CXIdxObjCContainerDeclInfo
- All Implemented Interfaces:
Pointer
struct CXIdxObjCContainerDeclInfo {
{@link CXIdxDeclInfo CXIdxDeclInfo} const * declInfo;
CXIdxObjCContainerKind kind;
}-
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
ConstructorsConstructorDescriptionCXIdxObjCContainerDeclInfo(ByteBuffer container) Creates aCXIdxObjCContainerDeclInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CXIdxObjCContainerDeclInfocreate(long address) Returns a newCXIdxObjCContainerDeclInfoinstance for the specified memory address.create(long address, int capacity) Create aCXIdxObjCContainerDeclInfo.Bufferinstance at the specified memory.static @Nullable CXIdxObjCContainerDeclInfocreateSafe(long address) static @Nullable CXIdxObjCContainerDeclInfo.BuffercreateSafe(long address, int capacity) declInfo()intkind()static CXIdxDeclInfondeclInfo(long struct) Unsafe version ofdeclInfo().static intnkind(long struct) Unsafe version ofkind().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. -
DECLINFO
public static final int DECLINFOThe struct member offsets. -
KIND
public static final int KINDThe struct member offsets.
-
-
Constructor Details
-
CXIdxObjCContainerDeclInfo
Creates aCXIdxObjCContainerDeclInfoinstance 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<CXIdxObjCContainerDeclInfo>
-
declInfo
- Returns:
- a
CXIdxDeclInfoview of the struct pointed to by thedeclInfofield.
-
kind
public int kind()- Returns:
- the value of the
kindfield.
-
create
Returns a newCXIdxObjCContainerDeclInfoinstance for the specified memory address. -
createSafe
-
create
Create aCXIdxObjCContainerDeclInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ndeclInfo
Unsafe version ofdeclInfo(). -
nkind
public static int nkind(long struct) Unsafe version ofkind().
-