diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-07-23 11:10:26 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-07-23 11:10:26 +0000 |
commit | 8cc3094c86a03238e040831d14a144e48f6aad93 (patch) | |
tree | 7da723ac1938a659f9620574edc7570a068c4cab /docs | |
parent | 3d57b739ed28cffdb6cea6bcd1410bff85758302 (diff) | |
download | haskell-8cc3094c86a03238e040831d14a144e48f6aad93.tar.gz |
Remove note about avoiding use of #def in libraries
It should be safe to use now that we aren't relying on C prototypes
for foreign functions in via-C code.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/utils.xml | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/users_guide/utils.xml b/docs/users_guide/utils.xml index 6c82f6b38a..ecd55a510b 100644 --- a/docs/users_guide/utils.xml +++ b/docs/users_guide/utils.xml @@ -392,15 +392,6 @@ tags: <literal>inline</literal>, <literal>struct</literal> or <literal>typedef</literal> keyword must come just after <literal>def</literal>.</para> - - <note><para>A <literal>foreign import</literal> of a - C function may be inlined across a module boundary, - in which case you must arrange for the importing - module to <literal>#include</literal> the C header - file generated by <command>hsc2hs</command> (see - <xref linkend="glasgow-foreign-headers"/>). - For this reason we avoid using <literal>#def</literal> - in the libraries.</para></note> </listitem> </varlistentry> |