mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
CL 258038 improperly added a weird custom type to mkwinsyscall, rather than doing the norm with wrapper functions. So, we revert the change to mkwinsyscall and add the proper wrapper function to do the type conversion. Change-Id: I98134e4ce6bf4b52e1384fe84bddeedb00e18c0b Reviewed-on: https://go-review.googlesource.com/c/sys/+/268777 Trust: Jason A. Donenfeld <Jason@zx2c4.com> Trust: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>