packages feed

inline-c 0.5.3.1 → 0.5.3.2

raw patch · 4 files changed

+4/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -281,7 +281,7 @@   let x = 3   let y = 4   z <- [C.exp| long{-      $fun:(int (*ackermannIO)(int, int))($(long x), $(long y))+      $fun:(long (*ackermannIO)(long, long))($(long x), $(long y))     } |]   print z ```
changelog.md view
@@ -1,3 +1,4 @@+- 0.5.3.2: Make type errors with default anti-quoter much saner. - 0.5.3.1: Fix leak of `FunPtr` when using `funCtx`. - 0.5.3.0: Recognize more standard library types.  See pull request #19. - 0.5.2.1: Convert `signed char` to `CSChar`.  See pull request #18.
inline-c.cabal view
@@ -1,5 +1,5 @@ name:                inline-c-version:             0.5.3.1+version:             0.5.3.2 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/Internal.hs view
@@ -463,7 +463,7 @@                       ", because it's not in scope. (genericQuote)"             Just hsName -> do               hsExp <- TH.varE hsName-              [| \cont -> cont $(return hsExp) |]+              [| \cont -> cont ($(return hsExp) :: $(return hsTy)) |]           return (hsTy, hsExp)         AntiQuote antiId dyn -> do           case Map.lookup antiId (ctxAntiQuoters ctx) of