• Jeet Parekh's avatar
    windows: fix NewCallback function · 062cd7e4
    Jeet Parekh authored
    It has been suggested to migrate from syscall to golang.org/x/sys
    The NewCallback function works in syscall. But the golang.org/x/sys/windows NewCallback function did not work.
    
    Since golang.org/x/sys/windows already imports syscall, the NewCallback function now calls syscall.NewCallback.
    
    Fixes golang/go#21831
    
    Change-Id: I5cabd8540777b398a288308a66ae20896ed4a1db
    Reviewed-on: https://go-review.googlesource.com/63250
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
    062cd7e4
Name
Last commit
Last update
plan9 Loading commit data...
unix Loading commit data...
windows Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...