On Tuesday, March 5, 2013 8:32:31 AM UTC-6, minux wrote:
On Tue, Mar 5, 2013 at 10:28 PM, davy zhang wrote:
I don't know the how to treat the rest ... style argument
http://play.golang.org/p/EjZqTbtgVf
the error of compiler is :too many arguments in call to _Cfunc_sprintf
should I wrap it as fixed length argument
cgo doesn't support C's variable argument function.
you will need to use wrapper functions.
On Tue, Mar 5, 2013 at 10:28 PM, davy zhang wrote:
I don't know the how to treat the rest ... style argument
http://play.golang.org/p/EjZqTbtgVf
the error of compiler is :too many arguments in call to _Cfunc_sprintf
should I wrap it as fixed length argument
cgo doesn't support C's variable argument function.
you will need to use wrapper functions.
--
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/groups/opt_out.