Пример #1
0
// CINDEX_LINKAGE CXCursor clang_Cursor_getArgument(CXCursor C, unsigned i);
func (c Cursor) Argument(i uint) Cursor {
	o := C.clang_Cursor_getArgument(c.c, C.uint(i))
	return Cursor{o}
}
Пример #2
0
/*
	Retrieve the argument cursor of a function or method.

	The argument cursor can be determined for calls as well as for declarations
	of functions or methods. For other cursors and for invalid indices, an
	invalid cursor is returned.
*/
func (c Cursor) Argument(i uint32) Cursor {
	return Cursor{C.clang_Cursor_getArgument(c.c, C.uint(i))}
}