Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type ForeignRegion = (ForeignPtr Word8, Int, Int) Source #
class FromForeignRegion a where Source #
fromForeignRegion :: ForeignRegion -> a Source #
Create a value of type @a from a foreign region.