From 1ef14beacf757bcb2e9b87d218d98c9637cc4d62 Mon Sep 17 00:00:00 2001
From: panne <unknown>
Date: Mon, 19 Jun 2000 21:28:00 +0000
Subject: [PATCH] [project @ 2000-06-19 21:28:00 by panne] * 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 | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/docs/ffi.sgml b/docs/ffi.sgml
index e59ff9e42e7c..35e6d76bda45 100644
--- 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>
 
-<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>
 
-- 
GitLab