projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-10-28 15:51:15 by simonmar]
[ghc-hetmet.git]
/
ghc
/
docs
/
users_guide
/
ffi-chap.xml
diff --git
a/ghc/docs/users_guide/ffi-chap.xml
b/ghc/docs/users_guide/ffi-chap.xml
index
84fb8ae
..
e1374c4
100644
(file)
--- 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);</programlisting>
invoke <literal>foo()</literal> from C, just <literal>#include
"Foo_stub.h"</literal> and call <literal>foo()</literal>.</para>
invoke <literal>foo()</literal> from C, just <literal>#include
"Foo_stub.h"</literal> and call <literal>foo()</literal>.</para>
+ <para>The <filename>foo_stub.c</filename> and
+ <filename>foo_stub.h</filename> files can be redirected using the
+ <option>-stubdir</option> option; see <xref linkend="options-output"
+ />.</para>
+
<sect3 id="using-own-main">
<title>Using your own <literal>main()</literal></title>
<sect3 id="using-own-main">
<title>Using your own <literal>main()</literal></title>