From a35ddcc222dc84c5a510f5440713b70c07162b0f Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Wed, 12 Dec 2018 17:05:06 -0500 Subject: [PATCH] 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 --- src/syscall/dll_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.0