Commit a7c1d388 authored by simonpj's avatar simonpj

[project @ 2003-01-13 13:39:34 by simonpj]

wibble
parent 96b7249d
...@@ -273,7 +273,7 @@ It is also possible, according the FFI specification, to put the ...@@ -273,7 +273,7 @@ It is also possible, according the FFI specification, to put the
<option>-&num;include</option> option in the foreign import <option>-&num;include</option> option in the foreign import
declaration itself: declaration itself:
<programlisting> <programlisting>
foreign import "#include foo.h f" f :: Int -> IO Int foreign import "foo.h f" f :: Int -> IO Int
</programlisting> </programlisting>
When compiling this module, GHC will generate a C file that includes When compiling this module, GHC will generate a C file that includes
the specified <option>-&num;include</option>. However, GHC the specified <option>-&num;include</option>. However, GHC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment