Sign in
go
/
go
/
312920c00aac9897b2a0693e752390b5b0711a5a
/
.
/
misc
/
cgo
/
test
/
issue52611a
/
b.go
blob: 74a50c5deac718b4e85db9da7b12effdefa09f7b [
file
] [
log
] [
blame
]
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package issue52611a
import "C"
func GetX2(foo *C.struct_Foo) int32 {
return int32(foo.X)
}