/** * \brief Determine whether the given cursor kind represents a translation * unit. */ func (ck CursorKind) IsTranslationUnit() bool { o := C.clang_isTranslationUnit(uint32(ck)) if o != C.uint(0) { return true } return false }
// Determine whether the given cursor kind represents a translation unit. func (ck CursorKind) IsTranslationUnit() bool { o := C.clang_isTranslationUnit(C.enum_CXCursorKind(ck)) return o != C.uint(0) }