projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6d89a2f
)
[project @ 2005-02-02 15:20:11 by simonmar]
author
simonmar
<unknown>
Wed, 2 Feb 2005 15:20:11 +0000
(15:20 +0000)
committer
simonmar
<unknown>
Wed, 2 Feb 2005 15:20:11 +0000
(15:20 +0000)
tiny doc fix
Foreign/Marshal/Utils.hs
patch
|
blob
|
history
diff --git
a/Foreign/Marshal/Utils.hs
b/Foreign/Marshal/Utils.hs
index
0012fed
..
b62e618
100644
(file)
--- a/
Foreign/Marshal/Utils.hs
+++ b/
Foreign/Marshal/Utils.hs
@@
-87,7
+87,7
@@
new val =
-- |@'with' val f@ executes the computation @f@, passing as argument
-- a pointer to a temporarily allocated block of memory into which
-- |@'with' val f@ executes the computation @f@, passing as argument
-- a pointer to a temporarily allocated block of memory into which
--- 'val' has been marshalled (the combination of 'alloca' and 'poke').
+-- @val@ has been marshalled (the combination of 'alloca' and 'poke').
--
-- The memory is freed when @f@ terminates (either normally or via an
-- exception), so the pointer passed to @f@ must /not/ be used after this.
--
-- The memory is freed when @f@ terminates (either normally or via an
-- exception), so the pointer passed to @f@ must /not/ be used after this.