Example #1
0
// Availability returns the availability of the entity that this cursor refers to
func (c Cursor) Availability() AvailabilityKind {
	o := C.clang_getCursorAvailability(c.c)
	return AvailabilityKind(o)
}
Example #2
0
/*
	Determine the availability of the entity that this cursor refers to,
	taking the current target platform into account.

	Parameter cursor The cursor to query.

	Returns The availability of the cursor.
*/
func (c Cursor) Availability() AvailabilityKind {
	return AvailabilityKind(C.clang_getCursorAvailability(c.c))
}