Class CXCodeCompleteResults

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

public class CXCodeCompleteResults extends org.lwjgl.system.Struct<CXCodeCompleteResults> implements org.lwjgl.system.NativeResource
Contains the results of code-completion.

This data structure contains the results of code completion, as produced by codeCompleteAt. Its contents must be freed by disposeCodeCompleteResults.

Layout


 struct CXCodeCompleteResults {
     CXCompletionResult * Results();
     unsigned NumResults();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int RESULTS
      The struct member offsets.
    • NUMRESULTS

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

    • CXCodeCompleteResults

      public CXCodeCompleteResults(ByteBuffer container)
      Creates a CXCodeCompleteResults 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