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

Comments

@LionNatsu
Copy link
Contributor

commented Jan 24, 2018

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 ianlancetaylor added this to the Go1.11 milestone Jan 24, 2018

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Jan 24, 2018

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

@gopherbot

This comment has been minimized.

Copy link

commented Jan 28, 2018

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

@gopherbot gopherbot closed this in 67d276c Jun 13, 2018

dna2github added a commit to dna2fork/go that referenced this issue Jun 14, 2018
cgo: update documentation on calling C variadic functions
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
3 participants
You can’t perform that action at this time.