示例#1
0
文件: type.go 项目: zimmski/go-clang
// IsRestrictQualified determines whether a Type has the "restrict" qualifier
// set, without looking through typedefs that may have added "restrict" at a
// different level.
func (t Type) IsRestrictQualified() bool {
	o := C.clang_isRestrictQualifiedType(t.c)
	if o != C.uint(0) {
		return true
	}
	return false
}
示例#2
0
文件: type_gen.go 项目: go-clang/v3.4
// Determine whether a CXType has the "restrict" qualifier set, without looking through typedefs that may have added "restrict" at a different level.
func (t Type) IsRestrictQualifiedType() bool {
	o := C.clang_isRestrictQualifiedType(t.c)

	return o != C.uint(0)
}