Codec-Image-DevIL 0.2.3 → 0.2.4
raw patch · 2 files changed
+3/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Codec-Image-DevIL.cabal +1/−1
- Codec/Image/DevIL.hsc +2/−0
Codec-Image-DevIL.cabal view
@@ -4,7 +4,7 @@ Provides functions readImage and writeImage, which can read and write many image formats from/to an RGBA array of values to work with.-Version: 0.2.3+Version: 0.2.4 Stability: experimental Synopsis: An FFI interface to the DevIL library License: BSD3
Codec/Image/DevIL.hsc view
@@ -13,6 +13,7 @@ import Data.Array.Storable import Data.Array.Unboxed+import Data.Array.Unsafe import Control.Applicative import Control.Monad @@ -151,6 +152,7 @@ (castPtr p) listArray bounds <$> lazyElems ar +lazyElems :: StorableArray (Int, Int, Int) Word8 -> IO [Word8] lazyElems ar = do ixs <- range <$> getBounds ar go ixs