Пример #1
0
/**
 * \brief Determine whether the given cursor kind represents an attribute.
 */
func (ck CursorKind) IsAttribute() bool {
	o := C.clang_isAttribute(uint32(ck))
	if o != C.uint(0) {
		return true
	}
	return false
}
Пример #2
0
// Determine whether the given cursor kind represents an attribute.
func (ck CursorKind) IsAttribute() bool {
	o := C.clang_isAttribute(C.enum_CXCursorKind(ck))

	return o != C.uint(0)
}