Commit 2e8f0426 authored by Simon Marlow's avatar Simon Marlow
Browse files

remove GHC-specific note

parent ed7a6ba5
......@@ -218,13 +218,6 @@ although it may be implemented differently internally: you may not
assume that the memory returned by \haddockid{mallocForeignPtr} has been
allocated with \haddocktt{Foreign.Marshal.Alloc.malloc}.
\par
GHC notes: \haddockid{mallocForeignPtr} has a heavily optimised
implementation in GHC. It uses pinned memory in the garbage
collected heap, so the \haddockid{ForeignPtr} does not require a finalizer to
free the memory. Use of \haddockid{mallocForeignPtr} and associated
functions is strongly recommended in preference to \haddocktt{newForeignPtr}
with a finalizer.
\par
\end{haddockdesc}
\begin{haddockdesc}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment