예제 #1
0
// CINDEX_LINKAGE int clang_Cursor_getNumArguments(CXCursor C);
func (c Cursor) NumArguments() int {
	n := C.clang_Cursor_getNumArguments(c.c)
	return int(n)
}
예제 #2
0
파일: cursor_gen.go 프로젝트: go-clang/v3.6
/*
	Retrieve the number of non-variadic arguments associated with a given
	cursor.

	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))
}