示例#1
0
文件: type.go 项目: zimmski/go-clang
// PointeeType (for pointer types), returns the type of the pointee.
func (t Type) PointeeType() Type {
	o := C.clang_getPointeeType(t.c)
	return Type{o}
}
示例#2
0
文件: type_gen.go 项目: go-clang/v3.4
// For pointer types, returns the type of the pointee.
func (t Type) PointeeType() Type {
	return Type{C.clang_getPointeeType(t.c)}
}