projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b7249
)
[project @ 2003-01-13 13:39:34 by simonpj]
author
simonpj
<unknown>
Mon, 13 Jan 2003 13:39:34 +0000
(13:39 +0000)
committer
simonpj
<unknown>
Mon, 13 Jan 2003 13:39:34 +0000
(13:39 +0000)
wibble
ghc/docs/users_guide/ffi-chap.sgml
patch
|
blob
|
history
diff --git
a/ghc/docs/users_guide/ffi-chap.sgml
b/ghc/docs/users_guide/ffi-chap.sgml
index
d3658e6
..
c61e967
100644
(file)
--- a/
ghc/docs/users_guide/ffi-chap.sgml
+++ b/
ghc/docs/users_guide/ffi-chap.sgml
@@
-273,7
+273,7
@@
It is also possible, according the FFI specification, to put the
<option>-#include</option> option in the foreign import
declaration itself:
<programlisting>
- foreign import "#include foo.h f" f :: Int -> IO Int
+ foreign import "foo.h f" f :: Int -> IO Int
</programlisting>
When compiling this module, GHC will generate a C file that includes
the specified <option>-#include</option>. However, GHC