Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | Apache-2.0 (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
data NonNullPtr a Source #
Instances
unNonNullPtr :: NonNullPtr a -> Ptr a Source #
mkNonNullPtr :: WithCallStack => Ptr a -> NonNullPtr a Source #
allocaNonNull :: forall a b. Storable a => (NonNullPtr a -> IO b) -> IO b Source #
allocaBytesNonNull :: forall a b. Int -> (NonNullPtr a -> IO b) -> IO b Source #
withPtrLenNonNull :: forall a b. (WithCallStack, Storable a) => BuilderCache a -> Builder a -> (Int -> NonNullPtr a -> IO b) -> IO b Source #