X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fffi-chap.xml;h=e1374c461054f54a2d2b9f085d8ae92cda03101c;hb=76c0086f090327eecaf510de8bc4efc4dee996dc;hp=84fb8aed9298fbcadfd51a9106de3f53280ca88f;hpb=e60f4a63156d1bbeda203eac53c2a500b7b3fffe;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>