From f7a20edf476c35357648d580553a5f4e35e61505 Mon Sep 17 00:00:00 2001 From: Joe Poirier Date: Sat, 22 Sep 2012 05:53:53 +1000 Subject: [PATCH] [release-branch.go1] syscall: add missing argument type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« backport 3909e0071e70 syscall: add missing argument type And update implementation location comment. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/6352046 »»» --- src/pkg/syscall/dll_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/syscall/dll_windows.go b/src/pkg/syscall/dll_windows.go index 2a45991dd7..d468b4d726 100644 --- a/src/pkg/syscall/dll_windows.go +++ b/src/pkg/syscall/dll_windows.go @@ -17,13 +17,13 @@ type DLLError struct { func (e *DLLError) Error() string { return e.Msg } -// Implemented in ../runtime/windows/syscall.goc. +// Implemented in ../runtime/syscall_windows.goc. func Syscall(trap, nargs, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func Syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func Syscall9(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) func Syscall12(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12 uintptr) (r1, r2 uintptr, err Errno) func Syscall15(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2 uintptr, err Errno) -func loadlibrary(filename *uint16) (handle, err Errno) +func loadlibrary(filename *uint16) (handle uintptr, err Errno) func getprocaddress(handle uintptr, procname *uint8) (proc uintptr, err Errno) // A DLL implements access to a single DLL. -- 2.50.0