From 8357dc90152ff27670fd9dd880a455802e5abc7a Mon Sep 17 00:00:00 2001 From: Joe Poirier Date: Wed, 27 Jun 2012 18:21:48 -0500 Subject: [PATCH] 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.48.1