Esempio n. 1
0
/**
 * \brief Determine the number of overloaded declarations referenced by a
 * \c CXCursor_OverloadedDeclRef cursor.
 *
 * \param cursor The cursor whose overloaded declarations are being queried.
 *
 * \returns The number of overloaded declarations referenced by \c cursor. If it
 * is not a \c CXCursor_OverloadedDeclRef cursor, returns 0.
 */
func (c Cursor) NumOverloadedDecls() int {
	o := C.clang_getNumOverloadedDecls(c.c)
	return int(o)
}
Esempio n. 2
0
/*
	Determine the number of overloaded declarations referenced by a
	CXCursor_OverloadedDeclRef cursor.

	Parameter cursor The cursor whose overloaded declarations are being queried.

	Returns The number of overloaded declarations referenced by cursor. If it
	is not a CXCursor_OverloadedDeclRef cursor, returns 0.
*/
func (c Cursor) NumOverloadedDecls() uint32 {
	return uint32(C.clang_getNumOverloadedDecls(c.c))
}