On Fri, Sep 30, 2016 at 7:42 AM, <webuser1...@gmail.com> wrote:

> Thanks for reading my question. I'm trying to map c <type> to Go "C.<type>"
>
> C int -> go C.int
> C unsigned char -> ?
> C char -> ?
> C unsigned short -> ?
> C double -> ?
> C __int64 -> ?
> C *char -> C.string
>

this won't work from within the playground, but here you go:

 https://play.golang.org/p/JgaDms1XMB

hth,
-s

-- 
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.

Reply via email to