コード例 #1
0
ファイル: clang.go プロジェクト: quarnster/go-clang
// 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
}
コード例 #2
0
ファイル: sourcerange_gen.go プロジェクト: go-clang/v3.4
// 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)
}