2020. január 30., csütörtök 8:27:14 UTC+1 időpontban Andreas Otto a következőt írta: > > > > Am Donnerstag, 30. Januar 2020 06:15:28 UTC+1 schrieb Tamás Gulácsi: >> >> What does "argv" hold? >> >> Can it be a concrete type, not an interface ? That would allow passing it >> - or if you copy it to a C.malloc-ed array.. >> >> >> *Argv* are the arguments of *Send* and many kind of types are are > supported, the *atomSet* figure out the type and > call the internal code to handle this. >
How do you handle the interface types on the C side? If you call back to Go exported functions, then you shouldn't travel the Go values - push them in a map, and travel the handle (uint64). -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e8141d20-4939-4d09-9670-3ccab3712c91%40googlegroups.com.