Package org.lwjgl.llvm
Class IndexerCallbacks
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct IndexerCallbacks {
int (* abortQuery) (CXClientData client_data, void * reserved);
void (* diagnostic) (CXClientData client_data, CXDiagnosticSet diagnosticSet, void * reserved);
CXIdxClientFile (* enteredMainFile) (CXClientData client_data, CXFile mainFile, void * reserved);
CXIdxClientFile (* ppIncludedFile) (CXClientData client_data, CXIdxIncludedFileInfo const * info);
CXIdxClientASTFile (* importedASTFile) (CXClientData client_data, CXIdxImportedASTFileInfo const * info);
CXIdxClientContainer (* startedTranslationUnit) (CXClientData client_data, void * reserved);
void (* indexDeclaration) (CXClientData client_data, CXIdxDeclInfo const * info);
void (* indexEntityReference) (CXClientData client_data, CXIdxEntityRefInfo const * info);
}
-
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 member offsets.static 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 member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionIndexerCallbacks
(ByteBuffer container) Creates aIndexerCallbacks
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexerCallbacks
calloc()
Returns a newIndexerCallbacks
instance allocated withmemCalloc
.static IndexerCallbacks.Buffer
calloc
(int capacity) Returns a newIndexerCallbacks.Buffer
instance allocated withmemCalloc
.static IndexerCallbacks.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newIndexerCallbacks.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static IndexerCallbacks
calloc
(MemoryStack stack) Returns a newIndexerCallbacks
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static IndexerCallbacks
Deprecated.static IndexerCallbacks.Buffer
callocStack
(int capacity) Deprecated.static IndexerCallbacks.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static IndexerCallbacks
callocStack
(MemoryStack stack) Deprecated.static IndexerCallbacks
create()
Returns a newIndexerCallbacks
instance allocated withBufferUtils
.static IndexerCallbacks.Buffer
create
(int capacity) Returns a newIndexerCallbacks.Buffer
instance allocated withBufferUtils
.static IndexerCallbacks
create
(long address) Returns a newIndexerCallbacks
instance for the specified memory address.static IndexerCallbacks.Buffer
create
(long address, int capacity) Create aIndexerCallbacks.Buffer
instance at the specified memory.static @Nullable IndexerCallbacks
createSafe
(long address) static @Nullable IndexerCallbacks.Buffer
createSafe
(long address, int capacity) static IndexerCallbacks
malloc()
Returns a newIndexerCallbacks
instance allocated withmemAlloc
.static IndexerCallbacks.Buffer
malloc
(int capacity) Returns a newIndexerCallbacks.Buffer
instance allocated withmemAlloc
.static IndexerCallbacks.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newIndexerCallbacks.Buffer
instance allocated on the specifiedMemoryStack
.static IndexerCallbacks
malloc
(MemoryStack stack) Returns a newIndexerCallbacks
instance allocated on the specifiedMemoryStack
.static IndexerCallbacks
Deprecated.static IndexerCallbacks.Buffer
mallocStack
(int capacity) Deprecated.static IndexerCallbacks.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static IndexerCallbacks
mallocStack
(MemoryStack stack) Deprecated.static IndexerAbortQuery
nabortQuery
(long struct) Unsafe version ofabortQuery()
.static IndexerDiagnostic
ndiagnostic
(long struct) Unsafe version ofdiagnostic()
.static IndexerEnteredMainFile
nenteredMainFile
(long struct) Unsafe version ofenteredMainFile()
.static IndexerImportedASTFile
nimportedASTFile
(long struct) Unsafe version ofimportedASTFile()
.static IndexerIndexDeclaration
nindexDeclaration
(long struct) Unsafe version ofindexDeclaration()
.static IndexerIndexEntityReference
nindexEntityReference
(long struct) Unsafe version ofindexEntityReference()
.static IndexerIncludedFile
nppIncludedFile
(long struct) Unsafe version ofppIncludedFile()
.nstartedTranslationUnit
(long struct) Unsafe version ofstartedTranslationUnit()
.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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. -
ABORTQUERY
public static final int ABORTQUERYThe struct member offsets. -
DIAGNOSTIC
public static final int DIAGNOSTICThe struct member offsets. -
ENTEREDMAINFILE
public static final int ENTEREDMAINFILEThe struct member offsets. -
PPINCLUDEDFILE
public static final int PPINCLUDEDFILEThe struct member offsets. -
IMPORTEDASTFILE
public static final int IMPORTEDASTFILEThe struct member offsets. -
STARTEDTRANSLATIONUNIT
public static final int STARTEDTRANSLATIONUNITThe struct member offsets. -
INDEXDECLARATION
public static final int INDEXDECLARATIONThe struct member offsets. -
INDEXENTITYREFERENCE
public static final int INDEXENTITYREFERENCEThe struct member offsets.
-
-
Constructor Details
-
IndexerCallbacks
Creates aIndexerCallbacks
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<IndexerCallbacks>
-
abortQuery
- Returns:
- the value of the
abortQuery
field.
-
diagnostic
- Returns:
- the value of the
diagnostic
field.
-
enteredMainFile
- Returns:
- the value of the
enteredMainFile
field.
-
ppIncludedFile
- Returns:
- the value of the
ppIncludedFile
field.
-
importedASTFile
- Returns:
- the value of the
importedASTFile
field.
-
startedTranslationUnit
- Returns:
- the value of the
startedTranslationUnit
field.
-
indexDeclaration
- Returns:
- the value of the
indexDeclaration
field.
-
indexEntityReference
- Returns:
- the value of the
indexEntityReference
field.
-
malloc
Returns a newIndexerCallbacks
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newIndexerCallbacks
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newIndexerCallbacks
instance allocated withBufferUtils
. -
create
Returns a newIndexerCallbacks
instance for the specified memory address. -
createSafe
-
malloc
Returns a newIndexerCallbacks.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newIndexerCallbacks.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newIndexerCallbacks.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aIndexerCallbacks.Buffer
instance 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 newIndexerCallbacks
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newIndexerCallbacks
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newIndexerCallbacks.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newIndexerCallbacks.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nabortQuery
Unsafe version ofabortQuery()
. -
ndiagnostic
Unsafe version ofdiagnostic()
. -
nenteredMainFile
Unsafe version ofenteredMainFile()
. -
nppIncludedFile
Unsafe version ofppIncludedFile()
. -
nimportedASTFile
Unsafe version ofimportedASTFile()
. -
nstartedTranslationUnit
Unsafe version ofstartedTranslationUnit()
. -
nindexDeclaration
Unsafe version ofindexDeclaration()
. -
nindexEntityReference
Unsafe version ofindexEntityReference()
.
-