コード例 #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)}
}