projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-06-19 21:28:00 by panne]
[ghc-hetmet.git]
/
docs
/
ffi.sgml
diff --git
a/docs/ffi.sgml
b/docs/ffi.sgml
index
e59ff9e
..
35e6d76
100644
(file)
--- a/
docs/ffi.sgml
+++ b/
docs/ffi.sgml
@@
-610,9
+610,7
@@
defines the mapping between Haskell and C types.
<Table id="sec-mapping-table">
<Title>Mapping of Haskell types to C types</Title>
<Table id="sec-mapping-table">
<Title>Mapping of Haskell types to C types</Title>
-<TGroup Cols="6">
-<ColSpec Align="Left" Colsep="0">
-<ColSpec Align="Left" Colsep="0">
+<TGroup Cols="4">
<ColSpec Align="Left" Colsep="0">
<ColSpec Align="Left" Colsep="0">
<ColSpec Align="Left" Colsep="0">
<ColSpec Align="Left" Colsep="0">
<ColSpec Align="Left" Colsep="0">
<ColSpec Align="Left" Colsep="0">
@@
-748,10
+746,6
@@
defines the mapping between Haskell and C types.
<Entry> void* (8) </Entry>
<Entry> </Entry>
</Row>
<Entry> void* (8) </Entry>
<Entry> </Entry>
</Row>
-<Row>
-<Entry>
-</Entry>
-</Row>
</TBody>
</TGroup>
</TBody>
</TGroup>
@@
-932,7
+926,7
@@
foreign import "mumble" mumble :: ForeignObj -> IO ()
f :: Addr -> IO ()
f ptr = do
f :: Addr -> IO ()
f ptr = do
- fo <- makeForeignObj ptr myFinalizer
+ fo <- newForeignObj ptr myFinalizer
mumble fo
</ProgramListing>
mumble fo
</ProgramListing>