Copyright | (c) 2019 Edward Kmett |
---|---|
License | BSD-2-Clause OR Apache-2.0 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
Synopsis
- newConstForeignPtr :: forall p a. APtr p => p a -> IO () -> IO (ConstForeignPtr a)
- addAForeignPtrFinalizer :: forall fp a. AForeignPtr fp => fp a -> IO () -> IO ()
Documentation
newConstForeignPtr :: forall p a. APtr p => p a -> IO () -> IO (ConstForeignPtr a) Source #
Analogous to newForeignPtr
addAForeignPtrFinalizer :: forall fp a. AForeignPtr fp => fp a -> IO () -> IO () Source #
Analogous to addForeignPtrFinalizer