コード例 #1
0
ファイル: cursor.go プロジェクト: quarnster/go-clang
/**
 * \brief Determine whether the declaration pointed to by this cursor
 * is also a definition of that entity.
 */
func (c Cursor) IsDefinition() bool {
	o := C.clang_isCursorDefinition(c.c)
	if o != C.uint(0) {
		return true
	}
	return false
}
コード例 #2
0
ファイル: cursor_gen.go プロジェクト: go-clang/v3.6
// Determine whether the declaration pointed to by this cursor is also a definition of that entity.
func (c Cursor) IsCursorDefinition() bool {
	o := C.clang_isCursorDefinition(c.c)

	return o != C.uint(0)
}