Class CXCodeCompleteResults

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class CXCodeCompleteResults
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • RESULTS, NUMRESULTS

        The struct member offsets.
    • Constructor Detail

      • CXCodeCompleteResults

        public CXCodeCompleteResults​(java.nio.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.