Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
data NonNullPtr a Source #
Instances
unNonNullPtr :: NonNullPtr a -> Ptr a Source #
mkNonNullPtr :: WithCallStack => Ptr a -> NonNullPtr a Source #
allocaNonNull :: Storable a => (NonNullPtr a -> IO b) -> IO b Source #
allocaBytesNonNull :: Storable a => Int -> (NonNullPtr a -> IO b) -> IO b Source #