Skip to content

Commit

Permalink
syscall: update doc comment to match behavior for Proc.Call
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andrew Bonventre <[email protected]>
  • Loading branch information
andybons committed Dec 12, 2018
1 parent 561923f commit a35ddcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syscall/dll_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a35ddcc

Please sign in to comment.