예제 #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
파일: cursor_gen.go 프로젝트: go-clang/v3.6
/*
	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))}
}