Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Documentation
withRWStorable :: (Storable a, PrimMonad m) => a -> (Ptr a -> m b) -> m a Source
withRStorable :: (Storable a, PrimMonad m) => a -> (Ptr a -> m b) -> m b Source
withRStorable_ :: (Storable a, PrimMonad m) => a -> (Ptr a -> m ()) -> m () Source
withForeignPtrPrim :: PrimMonad m => ForeignPtr a -> (Ptr a -> m b) -> m b Source
touchForeignPtrPrim :: PrimMonad m => ForeignPtr a -> m () Source
unsafeWithPrim :: (Storable a, PrimMonad m) => MVector (PrimState m) a -> (Ptr a -> m b) -> m b Source