]> Cypherpunks repositories - gostls13.git/commit
syscall: refer to Proc.Call documentation for LazyProc.Call on Windows
authorMatt Layher <mdlayher@gmail.com>
Fri, 7 Jun 2019 17:07:32 +0000 (13:07 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 7 Jun 2019 17:22:53 +0000 (17:22 +0000)
commite0dd927123df2bbaf7af91f50e68710cfc220dfa
tree73f132b7d4003e95ee482ccf8d781b9e5bf02552
parent5587e05eac5274fc08915c8a64d446bfa3e4855b
syscall: refer to Proc.Call documentation for LazyProc.Call on Windows

The documentation comment was duplicated for each of these methods, and
the LazyProc.Call documentation incorrectly mentioned that Call accepts
only 15 arguments, but it actually accepts 18 now.

To prevent further documentation drift, refer the reader to the
documentation for Proc.Call instead of duplicating it for LazyProc.Call.

In addition, note that LazyProc's Addr, Call, and Find methods each
trigger a procedure lookup.

Change-Id: I6756cf7601fba79d1414ff5a5d6eef900aa590e7
Reviewed-on: https://go-review.googlesource.com/c/go/+/181199
Run-TryBot: Matt Layher <mdlayher@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/dll_windows.go