Beispiel #1
0
// Declaration returns the cursor for the declaration of the given type.
func (t Type) Declaration() Cursor {
	o := C.clang_getTypeDeclaration(t.c)
	return Cursor{o}
}
Beispiel #2
0
// Return the cursor for the declaration of the given type.
func (t Type) Declaration() Cursor {
	return Cursor{C.clang_getTypeDeclaration(t.c)}
}