X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fffi-chap.xml;h=e1374c461054f54a2d2b9f085d8ae92cda03101c;hb=dde80d73a5affea82e6cd54f51120866e3175de5;hp=84fb8aed9298fbcadfd51a9106de3f53280ca88f;hpb=f2e730f34ab0134391c88fe58f9f9e94b736da91;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/ffi-chap.xml b/ghc/docs/users_guide/ffi-chap.xml index 84fb8ae..e1374c4 100644 --- a/ghc/docs/users_guide/ffi-chap.xml +++ b/ghc/docs/users_guide/ffi-chap.xml @@ -107,6 +107,11 @@ extern HsInt foo(HsInt a0); invoke foo() from C, just #include "Foo_stub.h" and call foo(). + The foo_stub.c and + foo_stub.h files can be redirected using the + option; see . + Using your own <literal>main()</literal>