Exemple #1
0
/**
 * \brief Retrieve the display name for the entity referenced by this cursor.
 *
 * The display name contains extra information that helps identify the cursor,
 * such as the parameters of a function or template or the arguments of a
 * class template specialization.
 */
func (c Cursor) DisplayName() string {
	cstr := cxstring{C.clang_getCursorDisplayName(c.c)}
	defer cstr.Dispose()
	return cstr.String()
}
Exemple #2
0
/*
	Retrieve the display name for the entity referenced by this cursor.

	The display name contains extra information that helps identify the cursor,
	such as the parameters of a function or template or the arguments of a
	class template specialization.
*/
func (c Cursor) DisplayName() string {
	o := cxstring{C.clang_getCursorDisplayName(c.c)}
	defer o.Dispose()

	return o.String()
}