On 10 August 2017 at 23:21, Dan Kortschak <[email protected]> wrote:
> Yeah, that doesn't work. Returning the value from the C.func does
> though. The whole system is pretty queasy-making.

It works for me:

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

I'd probably use a uintptr as being closer in spirit to size_t, though.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to