コード例 #1
0
ファイル: cursor.go プロジェクト: quarnster/go-clang
// Type retrieves the type of a cursor (if any).
func (c Cursor) Type() Type {
	o := C.clang_getCursorType(c.c)
	return Type{o}
}
コード例 #2
0
ファイル: cursor_gen.go プロジェクト: go-clang/v3.6
// Retrieve the type of a CXCursor (if any).
func (c Cursor) Type() Type {
	return Type{C.clang_getCursorType(c.c)}
}