Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/cgo: documentation for variadic function #23537

Closed
LionNatsu opened this issue Jan 24, 2018 · 2 comments
Closed

cmd/cgo: documentation for variadic function #23537

LionNatsu opened this issue Jan 24, 2018 · 2 comments

Comments

@LionNatsu
Copy link
Contributor

So far, there's nothing about variadic functions at https://golang.org/cmd/cgo/ . Neither variadic function in C nor variadic function in Go.

Relevant to #975.

@ianlancetaylor
Copy link
Contributor

If anyone wants to contribute a patch, the guidance is simple: variadic functions don't work.

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/90415 mentions this issue: cgo: Update documentation on calling C variadic functions

dna2github pushed a commit to dna2fork/go that referenced this issue Jun 14, 2018
The current implementation does not support calling C variadic
functions (as discussed in golang#975). Document that.

Fixes golang#23537

Change-Id: If4c684a3d135f3c2782a720374dc4c07ea66dcbb
Reviewed-on: https://go-review.googlesource.com/90415
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@golang golang locked and limited conversation to collaborators Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants