Class IndexerCallbacks

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<IndexerCallbacks>
org.lwjgl.llvm.IndexerCallbacks
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class IndexerCallbacks extends org.lwjgl.system.Struct<IndexerCallbacks> implements org.lwjgl.system.NativeResource
A group of callbacks used by indexSourceFile and indexTranslationUnit.

Layout


 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);
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • ABORTQUERY

      public static final int ABORTQUERY
      The struct member offsets.
    • DIAGNOSTIC

      public static final int DIAGNOSTIC
      The struct member offsets.
    • ENTEREDMAINFILE

      public static final int ENTEREDMAINFILE
      The struct member offsets.
    • PPINCLUDEDFILE

      public static final int PPINCLUDEDFILE
      The struct member offsets.
    • IMPORTEDASTFILE

      public static final int IMPORTEDASTFILE
      The struct member offsets.
    • STARTEDTRANSLATIONUNIT

      public static final int STARTEDTRANSLATIONUNIT
      The struct member offsets.
    • INDEXDECLARATION

      public static final int INDEXDECLARATION
      The struct member offsets.
    • INDEXENTITYREFERENCE

      public static final int INDEXENTITYREFERENCE
      The struct member offsets.
  • Constructor Details

    • IndexerCallbacks

      public IndexerCallbacks(ByteBuffer container)
      Creates a IndexerCallbacks instance at the current position of the specified ByteBuffer 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