language-c-inline 0.7.8.0 → 0.7.9.0
raw patch · 2 files changed
+6/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Language/C/Inline/ObjC.hs +3/−1
- language-c-inline.cabal +3/−1
Language/C/Inline/ObjC.hs view
@@ -447,7 +447,9 @@ ; let hsWrapperTy = haskellWrapperType [] bridgeArgTys bridgeResTy -- FFI setup for the C wrapper- ; cwrapperName <- show <$> newName "cwrapper" >>= newName -- Don't ask...+ ; loc <- location+ ; let modName = dropExtension . takeFileName . loc_filename $ loc+ ; cwrapperName <- show <$> newName (modName ++ "_cwrapper") >>= newName -- Don't ask... ; stashHS [ forImpD CCall Safe (show cwrapperName) cwrapperName hsWrapperTy ]
language-c-inline.cabal view
@@ -1,5 +1,5 @@ Name: language-c-inline-Version: 0.7.8.0+Version: 0.7.9.0 Cabal-version: >= 1.9.2 Tested-with: GHC == 7.6.3, GHC == 7.8.3 Build-type: Simple@@ -15,6 +15,8 @@ For more information, see <https://github.com/mchakravarty/language-c-inline/wiki>. . Known bugs: <https://github.com/mchakravarty/language-c-inline/issues>+ .+ * New in 0.7.9: C wrapper names include the filename to disambiguate linker symbols. . * New in 0.7.8: (1) Record marshalling; (2) foreign pointer-class marshalling; (3) custom type marshallers; (4) marshall raw pointer types. Generated _objc.m files now always include "HsFFI.h"