typedef makes cgo sad