Exemple #1
0
// IsNull checks if the underlying source range is null.
func (r SourceRange) IsNull() bool {
	o := C.clang_Range_isNull(r.c)
	if o != C.int(0) {
		return true
	}
	return false
}
Exemple #2
0
// Returns non-zero if \p range is null.
func (sr SourceRange) IsNull() bool {
	o := C.clang_Range_isNull(sr.c)

	return o != C.int(0)
}