Skip to content

Commit 2e42b63

Browse files
committed
Updated mksyscall generated bindings
1 parent 6b6a375 commit 2e42b63

File tree

2 files changed

+36
-59
lines changed

2 files changed

+36
-59
lines changed

sync_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"go.bug.st/serial/enumerator"
2828
)
2929

30-
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go sync_windows.go
30+
//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go sync_windows.go
3131

3232
//sys getModuleHandle(moduleName *byte) (handle syscall.Handle, err error) = GetModuleHandleA
3333
//sys registerClass(wndClass *wndClass) (atom uint16, err error) = user32.RegisterClassA

zsyscall_windows.go

Lines changed: 35 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)