Ejemplo n.º 1
// CINDEX_LINKAGE int clang_Cursor_getNumArguments(CXCursor C);
func (c Cursor) NumArguments() int {
	n := C.clang_Cursor_getNumArguments(c.c)
	return int(n)
Ejemplo n.º 2
	Retrieve the number of non-variadic arguments associated with a given

	The number of arguments can be determined for calls as well as for
	declarations of functions or methods. For other cursors -1 is returned.
func (c Cursor) NumArguments() int32 {
	return int32(C.clang_Cursor_getNumArguments(c.c))