On Thu, Sep 29, 2016 at 8:59 PM,  <webuser1...@gmail.com> wrote:
> I have a basic example working of calling back into go from C. If I have a C
> function as:
>
> func Add(a, b C.Int) C.Int {
> return a + b
> }
>
> Where is the mapping of C type to C.<type> when I want to pass additional
> types to Go :
>
> 1. Unsigned int
> 2. char
> 3. double
> 4. string
> 5. short
> etc...

I'm sorry, I don't understand the question.  The C type int maps to
the Go type C.int.

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.

Reply via email to