Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au> |
Ugly internal utility functions for implementing Storable
-based vectors.
Documentation
ptrToOffset :: Storable a => ForeignPtr a -> Ptr a -> IntSource
offsetToPtr :: Storable a => ForeignPtr a -> Int -> Ptr aSource