@Properties(inherit=clang.class) public class CXIndexOptions extends Pointer
CXIndexOptions Opts;
memset(&Opts, 0, sizeof(Opts));
Opts.Size = sizeof(CXIndexOptions);
or explicitly initialize the first data member and zero-initialize the rest:
CXIndexOptions Opts = { sizeof(CXIndexOptions) };
or to prevent the -Wmissing-field-initializers warning for the above version:
CXIndexOptions Opts{};
Opts.Size = sizeof(CXIndexOptions);
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CXIndexOptions()
Default native constructor.
|
CXIndexOptions(long size)
Native array allocator.
|
CXIndexOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
DisplayDiagnostics() |
CXIndexOptions |
DisplayDiagnostics(int setter) |
int |
ExcludeDeclarationsFromPCH() |
CXIndexOptions |
ExcludeDeclarationsFromPCH(int setter) |
CXIndexOptions |
getPointer(long i) |
BytePointer |
InvocationEmissionPath()
Specifies a path which will contain log files for certain libclang
invocations.
|
CXIndexOptions |
InvocationEmissionPath(BytePointer setter) |
CXIndexOptions |
position(long position) |
BytePointer |
PreambleStoragePath()
The path to a directory, in which to store temporary PCH files.
|
CXIndexOptions |
PreambleStoragePath(BytePointer setter) |
int |
Size()
The size of struct CXIndexOptions used for option versioning.
|
CXIndexOptions |
Size(int setter) |
int |
StorePreamblesInMemory()
Store PCH in memory.
|
CXIndexOptions |
StorePreamblesInMemory(int setter) |
byte |
ThreadBackgroundPriorityForEditing()
A CXChoice enumerator that specifies the editing priority policy.
|
CXIndexOptions |
ThreadBackgroundPriorityForEditing(byte setter) |
byte |
ThreadBackgroundPriorityForIndexing()
A CXChoice enumerator that specifies the indexing priority policy.
|
CXIndexOptions |
ThreadBackgroundPriorityForIndexing(byte setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CXIndexOptions()
public CXIndexOptions(long size)
Pointer.position(long)
.public CXIndexOptions(Pointer p)
Pointer(Pointer)
.public CXIndexOptions position(long position)
public CXIndexOptions getPointer(long i)
getPointer
in class Pointer
@Cast(value="unsigned") public int Size()
public CXIndexOptions Size(int setter)
@Cast(value="unsigned char") public byte ThreadBackgroundPriorityForIndexing()
CXGlobalOpt_ThreadBackgroundPriorityForIndexing
public CXIndexOptions ThreadBackgroundPriorityForIndexing(byte setter)
@Cast(value="unsigned char") public byte ThreadBackgroundPriorityForEditing()
CXGlobalOpt_ThreadBackgroundPriorityForEditing
public CXIndexOptions ThreadBackgroundPriorityForEditing(byte setter)
@Cast(value="unsigned") @NoOffset public int ExcludeDeclarationsFromPCH()
clang_createIndex()
public CXIndexOptions ExcludeDeclarationsFromPCH(int setter)
@Cast(value="unsigned") @NoOffset public int DisplayDiagnostics()
clang_createIndex()
public CXIndexOptions DisplayDiagnostics(int setter)
@Cast(value="unsigned") @NoOffset public int StorePreamblesInMemory()
public CXIndexOptions StorePreamblesInMemory(int setter)
@Cast(value="const char*") public BytePointer PreambleStoragePath()
public CXIndexOptions PreambleStoragePath(BytePointer setter)
@Cast(value="const char*") public BytePointer InvocationEmissionPath()
public CXIndexOptions InvocationEmissionPath(BytePointer setter)
Copyright © 2024. All rights reserved.