c-struct 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- c-struct.cabal +1/−1
- src/Foreign/C/Struct.hs +3/−3
c-struct.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: c-struct-version: 0.1.0.0+version: 0.1.0.1 synopsis: To make a wrapper for struct of C language description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/c-struct#readme> category: Foreign
src/Foreign/C/Struct.hs view
@@ -83,9 +83,9 @@ -- Example -- -- @--- struct "Foo" ${size Foo}--- [ ("x", ''CInt, [| #{peek Foo, x} |], [| #{poke Foo, x} |]),--- ("y", ''CInt, [| #{peek Foo, y} |], [| #{poke Foo, y} |]) ]+-- struct \"Foo\" ${size Foo}+-- [ (\"x\", ''CInt, [| \#{peek Foo, x} |], [| \#{poke Foo, x} |]),+-- (\"y\", ''CInt, [| \#{peek Foo, y} |], [| \#{poke Foo, y} |]) ] -- [''Show, ''Read, ''Eq, ''Ord, ''Bounded] -- @