コード例 #1
0
ファイル: cursor.go プロジェクト: quarnster/go-clang
/**
 * \brief Determine whether the given cursor kind represents a statement.
 */
func (ck CursorKind) IsStatement() bool {
	o := C.clang_isStatement(uint32(ck))
	if o != C.uint(0) {
		return true
	}
	return false
}
コード例 #2
0
ファイル: cursorkind_gen.go プロジェクト: go-clang/v3.6
// Determine whether the given cursor kind represents a statement.
func (ck CursorKind) IsStatement() bool {
	o := C.clang_isStatement(C.enum_CXCursorKind(ck))

	return o != C.uint(0)
}