/* Retrieve the annotation associated with the given completion string. Parameter completion_string the completion string to query. Parameter annotation_number the 0-based index of the annotation of the completion string. Returns annotation string associated with the completion at index annotation_number, or a NULL string if that annotation is not available. */ func (cs CompletionString) Annotation(annotationNumber uint32) string { o := cxstring{C.clang_getCompletionAnnotation(cs.c, C.uint(annotationNumber))} defer o.Dispose() return o.String() }
/** * \brief Retrieve the annotation associated with the given completion string. * * \param completion_string the completion string to query. * * \param 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. */ func (cs CompletionString) Annotation(i int) string { cx := cxstring{C.clang_getCompletionAnnotation(cs.c, C.uint(i))} defer cx.Dispose() return cx.String() }