Skip to content

Commit 706fa98

Browse files
cuishuanggopherbot
authored andcommitted
windows: remove repetitive words
Change-Id: I9c944eca6117b1039f0c5287706cb447b75c8cbd Reviewed-on: https://go-review.googlesource.com/c/sys/+/509835 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Alex Brainman <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent 3fead03 commit 706fa98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows/syscall_windows.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ func Getpagesize() int { return 4096 }
135135

136136
// NewCallback converts a Go function to a function pointer conforming to the stdcall calling convention.
137137
// This is useful when interoperating with Windows code requiring callbacks.
138-
// The argument is expected to be a function with with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
138+
// The argument is expected to be a function with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
139139
func NewCallback(fn interface{}) uintptr {
140140
return syscall.NewCallback(fn)
141141
}
142142

143143
// NewCallbackCDecl converts a Go function to a function pointer conforming to the cdecl calling convention.
144144
// This is useful when interoperating with Windows code requiring callbacks.
145-
// The argument is expected to be a function with with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
145+
// The argument is expected to be a function with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
146146
func NewCallbackCDecl(fn interface{}) uintptr {
147147
return syscall.NewCallbackCDecl(fn)
148148
}

0 commit comments

Comments
 (0)