コード例 #1
0
ファイル: cursor.go プロジェクト: quarnster/go-clang
/**
 * \brief Returns the access control level for the C++ base specifier
 * represented by a cursor with kind CXCursor_CXXBaseSpecifier or
 * CXCursor_AccessSpecifier.
 */
func (c Cursor) AccessSpecifier() AccessSpecifier {
	o := C.clang_getCXXAccessSpecifier(c.c)
	return AccessSpecifier(o)
}
コード例 #2
0
ファイル: cursor_gen.go プロジェクト: go-clang/v3.6
/*
	Returns the access control level for the referenced object.

	If the cursor refers to a C++ declaration, its access control level within its
	parent scope is returned. Otherwise, if the cursor refers to a base specifier or
	access specifier, the specifier itself is returned.
*/
func (c Cursor) AccessSpecifier() AccessSpecifier {
	return AccessSpecifier(C.clang_getCXXAccessSpecifier(c.c))
}