Beispiel #1
0
/**
 * \returns non-zero if \c Comment is inline content and has a newline
 * immediately following it in the comment text.  Newlines between paragraphs
 * do not count.
 */
func (c Comment) HasTrailingNewline() bool {
	o := C.clang_InlineContentComment_hasTrailingNewline(c.c)
	if 0 != o {
		return true
	}
	return false
}
Beispiel #2
0
// Returns non-zero if Comment is inline content and has a newline immediately following it in the comment text. Newlines between paragraphs do not count.
func (c Comment) InlineContentComment_HasTrailingNewline() bool {
	o := C.clang_InlineContentComment_hasTrailingNewline(c.c)

	return o != C.uint(0)
}