diff options
author | ross <unknown> | 2004-09-08 11:10:13 +0000 |
---|---|---|
committer | ross <unknown> | 2004-09-08 11:10:13 +0000 |
commit | e1f293dd25f7764cbf43061d3efa900634d07fd4 (patch) | |
tree | b5be78eeaf5f0d5fc788410b7f092e11b0d416fd /libraries/base/GHC/ForeignPtr.hs | |
parent | d47eab1394c77e078adbfb4b6950890c506a4751 (diff) | |
download | haskell-e1f293dd25f7764cbf43061d3efa900634d07fd4.tar.gz |
[project @ 2004-09-08 11:10:08 by ross]
typos in comments
Diffstat (limited to 'libraries/base/GHC/ForeignPtr.hs')
-rw-r--r-- | libraries/base/GHC/ForeignPtr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/ForeignPtr.hs b/libraries/base/GHC/ForeignPtr.hs index 41bcfab96c..aa1b0e5f88 100644 --- a/libraries/base/GHC/ForeignPtr.hs +++ b/libraries/base/GHC/ForeignPtr.hs @@ -219,7 +219,7 @@ unsafeForeignPtrToPtr :: ForeignPtr a -> Ptr a -- ^This function extracts the pointer component of a foreign -- pointer. This is a potentially dangerous operations, as if the -- argument to 'unsafeForeignPtrToPtr' is the last usage --- occurence of the given foreign pointer, then its finaliser(s) will +-- occurrence of the given foreign pointer, then its finaliser(s) will -- be run, which potentially invalidates the plain pointer just -- obtained. Hence, 'touchForeignPtr' must be used -- wherever it has to be guaranteed that the pointer lives on - i.e., |