FAQ
There are new explicit rules about when its safe to pass memory between Go and C: https://tip.golang.org/doc/go1.6#cgo

I'm guessing that both conversions work because both uint8_t and uchar are the same thing? I haven't done a lot of C recently, but arent all three types unsigned, 8-bit numbers?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 20, '15 at 12:04a
activeDec 22, '15 at 8:51p
posts5
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase