update docs w.r.t. dllMain() definition (EXTFUN is no more)
authorSimon Marlow <simonmar@microsoft.com>
Wed, 1 Mar 2006 13:07:36 +0000 (13:07 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 1 Mar 2006 13:07:36 +0000 (13:07 +0000)
ghc/docs/users_guide/win32-dlls.xml

index 70defea..959f7ce 100644 (file)
@@ -412,7 +412,7 @@ RTS-&ndash;&ndash;a possible implementation is:
 #include &lt;windows.h&gt;
 #include &lt;Rts.h&gt;
 
 #include &lt;windows.h&gt;
 #include &lt;Rts.h&gt;
 
-EXTFUN(__stginit_Adder);
+extern void__stginit_Adder(void);
 
 static char* args[] = { "ghcDll", NULL };
                        /* N.B. argv arrays must end with NULL */
 
 static char* args[] = { "ghcDll", NULL };
                        /* N.B. argv arrays must end with NULL */