storable-record 0.0.4 → 0.0.4.1
raw patch · 3 files changed
+4/−4 lines, 3 files
Files
- src/Foreign/Storable/FixedArray.hs +1/−1
- src/Foreign/Storable/Newtype.hs +1/−1
- storable-record.cabal +2/−2
src/Foreign/Storable/FixedArray.hs view
@@ -23,7 +23,7 @@ do ptr <- get lift $ poke ptr x put (ptr `advancePtr` 1)--- put (ptr `plusPtr` size x + div (- size x) (alignment x))+-- ToDo: put (ptr `plusPtr` roundUp (alignment x) (sizeOf x)) {-# INLINE peekNext #-} peekNext :: (Storable a) => StateT (Ptr a) IO a
src/Foreign/Storable/Newtype.hs view
@@ -3,7 +3,7 @@ Example: -> import Foreign.Storable.Newtype as Store+> import qualified Foreign.Storable.Newtype as Store > > newtype MuLaw = MuLaw {deMuLaw :: Word8} >
storable-record.cabal view
@@ -1,5 +1,5 @@ Name: storable-record-Version: 0.0.4+Version: 0.0.4.1 Category: Data, Foreign Synopsis: Elegant definition of Storable instances for records Description:@@ -63,7 +63,7 @@ Source-Repository this Type: darcs Location: http://code.haskell.org/~thielema/storable-record/- Tag: 0.0.4+ Tag: 0.0.4.1 Flag splitBase description: Choose the new smaller, split-up base package.