X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fwin32-dlls.sgml;h=488f5bd9c74dc7f51bf305e0edca693bc76329de;hb=fb7a723bfd7650a705cb226e07c5b08b7a8e9279;hp=fd096e5be97ed25b10c9f7e068f578cda9080bf7;hpb=aa5c1268b733c19f743528f55430d3cdf312bbb4;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/win32-dlls.sgml b/ghc/docs/users_guide/win32-dlls.sgml index fd096e5..488f5bd 100644 --- a/ghc/docs/users_guide/win32-dlls.sgml +++ b/ghc/docs/users_guide/win32-dlls.sgml @@ -238,7 +238,7 @@ RTS---a possible implementation is: #include <windows.h> #include <Rts.h> -EXTFUN(__init_Adder); +EXTFUN(__stginit_Adder); static char* args[] = { "ghcDll", NULL }; /* N.B. argv arrays must end with NULL */ @@ -252,7 +252,7 @@ DllMain { if (reason == DLL_PROCESS_ATTACH) { /* By now, the RTS DLL should have been hoisted in, but we need to start it up. */ - startupHaskell(1, args, __init_Adder); + startupHaskell(1, args, __stginit_Adder); return TRUE; } return TRUE;