Instant is
off
|
Search plugin
|
Manual
|
haskell.org
newForeignPtrEnv
Packages
base
newForeignPtrEnv
:: FinalizerEnvPtr env a -> Ptr env -> Ptr a -> IO (ForeignPtr a)
base
Foreign.ForeignPtr
This variant of
newForeignPtr
adds a finalizer that expects an environment in addition to the finalized pointer. The environment that will be passed to the finalizer is fixed by the second argument to
newForeignPtrEnv
.
©
Neil Mitchell
2004-2012, version 4.2.11