Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
HaskellWorks.Data.FromForeignRegion
- class FromForeignRegion a where
- fromForeignRegion :: (ForeignPtr Word8, Int, Int) -> a
Documentation
class FromForeignRegion a where Source
Class for datastructures that can be created from a foreign region
Methods
fromForeignRegion :: (ForeignPtr Word8, Int, Int) -> a Source
Create a value of type @a from a foreign region.