]> Cypherpunks repositories - gostls13.git/commit
syscall: change SysProcAttr.Token type to Token
authorAlex Brainman <alex.brainman@gmail.com>
Tue, 7 Nov 2017 01:09:59 +0000 (12:09 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 7 Nov 2017 22:06:35 +0000 (22:06 +0000)
commit79f6c280b8c06de823f6c438e5b53052a95057bc
treef3724c58ae6a1beab3399e232a57157cc60872f5
parent44623c2ece584d77a9e8338f5f0bec198a2bab60
syscall: change SysProcAttr.Token type to Token

CL 75253 introduced new SysProcAttr.Token field as Handle.
But we already have exact type for it - Token. Use Token
instead of Handle everywhere - it saves few type conversions
and provides better documentation for new API.

Change-Id: Ibc5407a234a1f49804de15a24b27c8e6a6eba7e0
Reviewed-on: https://go-review.googlesource.com/76314
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/internal/syscall/windows/exec_windows_test.go
src/internal/syscall/windows/security_windows.go
src/internal/syscall/windows/zsyscall_windows.go
src/syscall/exec_windows.go
src/syscall/syscall_windows.go
src/syscall/zsyscall_windows.go