inline-c 0.5.2.0 → 0.5.2.1
raw patch · 3 files changed
+3/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +1/−0
- inline-c.cabal +1/−1
- src/Language/C/Inline/Context.hs +1/−1
changelog.md view
@@ -1,2 +1,3 @@+- 0.5.2.1: Convert `signed char` to `CSChar`. See pull request #18. - 0.5.2.0: Make `bs-ptr` use `char` instead of `unsigned char`. See issue #16.
inline-c.cabal view
@@ -1,5 +1,5 @@ name: inline-c-version: 0.5.2.0+version: 0.5.2.1 synopsis: Write Haskell source files including C code inline. No FFI required. description: See <https://github.com/fpco/inline-c/blob/master/README.md>. license: MIT
src/Language/C/Inline/Context.hs view
@@ -168,7 +168,7 @@ baseTypesTable = Map.fromList [ (C.Void, [t| () |]) , (C.Char Nothing, [t| CChar |])- , (C.Char (Just C.Signed), [t| CChar |])+ , (C.Char (Just C.Signed), [t| CSChar |]) , (C.Char (Just C.Unsigned), [t| CUChar |]) , (C.Short C.Signed, [t| CShort |]) , (C.Short C.Unsigned, [t| CUShort |])