diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-07-29 10:35:34 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-08-01 09:05:13 -0700 |
| commit | e666972a674eb96f5847c7bbeb5c6e1bcb572af5 (patch) | |
| tree | 30145c1a275b5d5003edb3f9d701d0c90996da20 /src/cmd | |
| parent | ef4054978692bd934eb575d0027c1c5476af9931 (diff) | |
| download | go-e666972a674eb96f5847c7bbeb5c6e1bcb572af5.tar.xz | |
runtime: deduplicate Windows stdcall
There is no need to have a dedicated stdcall variant for each
number of arguments. Instead, we can use a variadic function
that accepts any number of arguments and handles them uniformly.
While here, improve documentation of syscall_syscalln to make it clear
that it should not be used within the runtime package.
Change-Id: I022afc7f28d969fd7307bb2b1f4594246ac38d18
Reviewed-on: https://go-review.googlesource.com/c/go/+/691215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Mark Freeman <mark@golang.org>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions
