Skip to content
Snippets Groups Projects
Commit 1ef14bea authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[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?
parent 7c342f5e
No related branches found
No related tags found
No related merge requests found
...@@ -610,9 +610,7 @@ defines the mapping between Haskell and C types. ...@@ -610,9 +610,7 @@ defines the mapping between Haskell and C types.
<Table id="sec-mapping-table"> <Table id="sec-mapping-table">
<Title>Mapping of Haskell types to C types</Title> <Title>Mapping of Haskell types to C types</Title>
<TGroup Cols="6"> <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">
<ColSpec Align="Left" Colsep="0"> <ColSpec Align="Left" Colsep="0">
...@@ -748,10 +746,6 @@ defines the mapping between Haskell and C types. ...@@ -748,10 +746,6 @@ defines the mapping between Haskell and C types.
<Entry> void* (8) </Entry> <Entry> void* (8) </Entry>
<Entry> </Entry> <Entry> </Entry>
</Row> </Row>
<Row>
<Entry>
</Entry>
</Row>
</TBody> </TBody>
</TGroup> </TGroup>
...@@ -932,7 +926,7 @@ foreign import "mumble" mumble :: ForeignObj -&#62; IO () ...@@ -932,7 +926,7 @@ foreign import "mumble" mumble :: ForeignObj -&#62; IO ()
f :: Addr -&#62; IO () f :: Addr -&#62; IO ()
f ptr = do f ptr = do
fo &#60;- makeForeignObj ptr myFinalizer fo &#60;- newForeignObj ptr myFinalizer
mumble fo mumble fo
</ProgramListing> </ProgramListing>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment