base-compat-0.11.2: A compatibility layer for base

Safe HaskellSafe
LanguageHaskell2010

Foreign.Marshal.Array.Compat

Synopsis

Documentation

callocArray :: Storable a => Int -> IO (Ptr a) #

Like mallocArray, but allocated memory is filled with bytes of value zero.

callocArray0 :: Storable a => Int -> IO (Ptr a) #

Like callocArray0, but allocated memory is filled with bytes of value zero.