]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.3.html: windows NewCallbackCDecl
authorRob Pike <r@golang.org>
Sat, 12 Apr 2014 04:56:17 +0000 (14:56 +1000)
committerRob Pike <r@golang.org>
Sat, 12 Apr 2014 04:56:17 +0000 (14:56 +1000)
LGTM=alex.brainman
R=alex.brainman
CC=golang-codereviews
https://golang.org/cl/87250043

doc/go1.3.html

index fcb8d4c641fcec90dee9618c942aa9b085e7261b..07e695124de51eac47fd02c81efbe099638986da 100644 (file)
@@ -368,7 +368,13 @@ non-printing.
 
 <li> TODO: syscall: add Accept4 for freebsd (CL 68880043)</li>
 
-<li> TODO: syscall: add NewCallbackCDecl to use for windows callbacks (CL 36180044)</li>
+<li>
+On Windows, the <a href="/pkg/syscall/"><code>syscall</code></a> package now
+supports the cdecl calling convention through the addition of a new function
+<a href="/pkg/syscall/#NewCallbackCDecl"><code>NewCallbackCDecl</code></a>
+alongside the existing function
+<a href="/pkg/syscall/#NewCallback"><code>NewCallback</code></a>.
+</li>
 
 <li> TODO: syscall: add support for FreeBSD 10 (CL 56770044, 56980043)</li>