From: Andrew Bonventre Date: Wed, 12 Dec 2018 22:05:06 +0000 (-0500) Subject: syscall: update doc comment to match behavior for Proc.Call X-Git-Tag: go1.12beta1~87 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a35ddcc222dc84c5a510f5440713b70c07162b0f;p=gostls13.git syscall: update doc comment to match behavior for Proc.Call golang.org/cl/147117 increased the number of arguments permitted by Proc.Call on Windows, but the doc comment was never updated. Change-Id: Iea5eb9e0aafbc1025d5fcb8665d028b2254c183a Reviewed-on: https://go-review.googlesource.com/c/153825 Reviewed-by: Channing Kimble-Brown Reviewed-by: Andrew Bonventre --- diff --git a/src/syscall/dll_windows.go b/src/syscall/dll_windows.go index 816334226f..c57cd34f82 100644 --- a/src/syscall/dll_windows.go +++ b/src/syscall/dll_windows.go @@ -132,7 +132,7 @@ func (p *Proc) Addr() uintptr { //go:uintptrescapes -// Call executes procedure p with arguments a. It will panic, if more than 15 arguments +// Call executes procedure p with arguments a. It will panic if more than 18 arguments // are supplied. // // The returned error is always non-nil, constructed from the result of GetLastError.