Debian Codegraph @

src/cmd/cgo/internal/test/issue52611a/b.go

raw
1 // Copyright 2022 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package issue52611a
6
7 import "C"
8
9 func GetX2(foo *C.struct_Foo) int32 {
10 return int32(foo.X)
11 }