Пример #1
0
// 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
// Retrieve the type of a CXCursor (if any).
func (c Cursor) Type() Type {
	return Type{C.clang_getCursorType(c.c)}
}