packages feed

inline-c 0.5.3.3 → 0.5.3.4

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 view
@@ -1,3 +1,4 @@+- 0.5.3.4: Fix `bsCtx` docs. - 0.5.3.3:   * Fix errors when using parallel builds.  See issue #22.   * Use `fail` rather than `error` in the `Q` monad.
inline-c.cabal view
@@ -1,5 +1,5 @@ name:                inline-c-version:             0.5.3.3+version:             0.5.3.4 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
@@ -404,7 +404,7 @@ -- | 'bsCtx' serves exactly the same purpose as 'vecCtx', but only for -- 'BS.ByteString'.  @vec-ptr@ becomes @bs-ptr@, and @vec-len@ becomes -- @bs-len@.  You don't need to specify the type of the pointer in--- @bs-ptr@, it will always be @unsigned char*@.+-- @bs-ptr@, it will always be @char*@. bsCtx :: Context bsCtx = mempty   { ctxAntiQuoters = Map.fromList