const-0: Read-only mutable primitives

Copyright(c) 2019 Edward Kmett
LicenseBSD-2-Clause OR Apache-2.0
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell2010

Foreign.Const.Concurrent

Description

 
Synopsis

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 #