No, I am talking about the function in the C preamble will they be part of the header and share object ?
On Thursday, December 21, 2017 at 9:39:07 AM UTC-5, Ian Lance Taylor wrote: > > On Thu, Dec 21, 2017 at 6:15 AM, <rou...@gmail.com <javascript:>> wrote: > > > > 2 - Do all functions added into the preamble get exported to the header > and > > the shared object that go build creates? > > Yes they do, if you use //export, as documented at > https://golang.org/cmd/cgo. > > 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.