Commit 25cccffc authored by Simon Marlow's avatar Simon Marlow
Browse files

consistency: finaliser -> finalizer

parent 45e90651
......@@ -63,7 +63,7 @@ type\ FinalizerEnvPtr\ env\ a\ =\ FunPtr\ (Ptr\ env\ ->\ Ptr\ a\ ->\ IO\ ())
newForeignPtr\ ::\ FinalizerPtr\ a\ ->\ Ptr\ a\ ->\ IO\ (ForeignPtr\ a)
\end{tabular}]\haddockbegindoc
Turns a plain memory reference into a foreign pointer, and
associates a finaliser with the reference. The finaliser will be
associates a finalizer with the reference. The finalizer will be
executed after the last reference to the foreign object is dropped.
There is no guarantee of promptness, however the finalizer will be
executed before the program exits.
......
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