示例#1
0
/**
 * \brief Given a cursor that represents a declaration, return the associated
 * comment text, including comment markers.
 */
func (c Cursor) RawCommentText() string {
	cstr := cxstring{C.clang_Cursor_getRawCommentText(c.c)}
	defer cstr.Dispose()
	return cstr.String()
}
示例#2
0
// Given a cursor that represents a declaration, return the associated comment text, including comment markers.
func (c Cursor) RawCommentText() string {
	o := cxstring{C.clang_Cursor_getRawCommentText(c.c)}
	defer o.Dispose()

	return o.String()
}