[project @ 2000-06-19 21:28:00 by panne]
authorpanne <unknown>
Mon, 19 Jun 2000 21:28:00 +0000 (21:28 +0000)
committerpanne <unknown>
Mon, 19 Jun 2000 21:28:00 +0000 (21:28 +0000)
* makeForeignObj => newForeignObj

* Tried to make type mapping table look less strange, but this
  succeeded only a little bit. Could somebody else have a look?

docs/ffi.sgml

index e59ff9e..35e6d76 100644 (file)
@@ -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>
 
-<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">
@@ -748,10 +746,6 @@ defines the mapping between Haskell and C types.
 <Entry> void* (8) </Entry>
 <Entry> </Entry>
 </Row>
-<Row>
-<Entry>
-</Entry>
-</Row>
 </TBody>
 
 </TGroup>
@@ -932,7 +926,7 @@ foreign import "mumble" mumble :: ForeignObj -&#62; IO ()
 
 f :: Addr -&#62; IO ()
 f ptr = do
-  fo &#60;- makeForeignObj ptr myFinalizer
+  fo &#60;- newForeignObj ptr myFinalizer
   mumble fo
 </ProgramListing>