ΒΆCXString clang_getCompletionAnnotation(
    CXCompletionString completion_string,
    unsigned int annotation_number)

Description

Retrieve the annotation associated with the given completion string.

Declared at: clang/include/clang-c/Index.h:5502

Parameters

CXCompletionString completion_string
the completion string to query.
unsigned int annotation_number
the 0-based index of the annotation of the completion string.

Returns

annotation string associated with the completion at index\c annotation_number, or a NULL string if that annotation is not available.