guarded-allocation-0.0: Memory allocation with added stress tests and integrity checks

Safe HaskellSafe
LanguageHaskell98

Foreign.Marshal.Array.Guarded.Plain

Documentation

create :: Storable a => Int -> (Ptr a -> IO b) -> IO (ForeignPtr a, b) Source #

alloca :: Storable a => Int -> (Ptr a -> IO b) -> IO b Source #