On Mon, Jan 21, 2019 at 3:56 AM Tamás Gulácsi <tgulacs...@gmail.com> wrote: > > Instead of > > ns := make([]*_Ctype_char, 2*len(namespaces)+1) > > Use > > > ns := make([]*C.char, 2*len(namespaces)+1)
Let me add that using C.char has always been the documented and supported way to use cgo, and I have no idea where some people got the idea to write _Ctype_char instead. 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.