示例#1
0
/**
 * \brief Returns non-zero if the given source location is in a system header.
 */
func (loc SourceLocation) IsInSystemHeader() bool {
	o := C.clang_Location_isInSystemHeader(loc.c)
	if o != 0 {
		return true
	}
	return false
}
示例#2
0
// Returns non-zero if the given source location is in a system header.
func (sl SourceLocation) IsInSystemHeader() bool {
	o := C.clang_Location_isInSystemHeader(sl.c)

	return o != C.int(0)
}