Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | Apache-2.0 (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 :: Int -> (NonNullPtr a -> IO b) -> IO b Source #