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
unsafeWithPrimLen :: (Storable a, PrimMonad m) => MVector (PrimState m) a -> ((Ptr a, Int) -> m b) -> m b Source
unsafeWithPurePrim :: (Storable a, PrimMonad m) => Vector a -> (Ptr a -> m b) -> m b Source
unsafeWithPurePrimLen :: (Storable a, PrimMonad m) => Vector a -> ((Ptr a, Int) -> m b) -> m b Source