Example #1
0
/*
	Retrieve the number of annotations associated with the given
	completion string.

	Parameter completion_string the completion string to query.

	Returns the number of annotations associated with the given completion
	string.
*/
func (cs CompletionString) NumAnnotations() uint32 {
	return uint32(C.clang_getCompletionNumAnnotations(cs.c))
}
Example #2
0
/**
 * \brief Retrieve the number of annotations associated with the given
 * completion string.
 *
 * \param completion_string the completion string to query.
 *
 * \returns the number of annotations associated with the given completion
 * string.
 */
func (cs CompletionString) NumAnnotations() int {
	return int(C.clang_getCompletionNumAnnotations(cs.c))
}