On Sat, Oct 1, 2016 at 5:17 AM, <webuser1...@gmail.com> wrote: > > - I used the int and char C.<type> directly in fmt.printf and it seemed to > work. Is that ok to do without having to convert into a native go type?
Yes. > - What about c types like > > C short -> ? > C __int64 -> ? > > What file are all the go C.<types> defined in. For C types that are simple identifiers, the cgo tool simply uses that same identifier. For C types that are multiple identifiers, see dwarfToName in cmd/cgo/gcc.go. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.