]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: update doc comment to match behavior for Proc.Call
authorAndrew Bonventre <andybons@golang.org>
Wed, 12 Dec 2018 22:05:06 +0000 (17:05 -0500)
committerAndrew Bonventre <andybons@golang.org>
Wed, 12 Dec 2018 22:21:52 +0000 (22:21 +0000)
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 <ckimblebrown@google.com>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/syscall/dll_windows.go

index 816334226fd8fea465424fd28c031380118f0146..c57cd34f8225be540cd7119d2337ff5b9890256d 100644 (file)
@@ -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.