zeromq4-haskell 0.6.5 → 0.6.6
raw patch · 4 files changed
+9/−5 lines, 4 filessetup-changed
Files
- CHANGELOG.md +4/−0
- Setup.hs +0/−2
- src/System/ZMQ4/Internal/Base.hsc +3/−1
- zeromq4-haskell.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.6.6+-----------------------------------------------------------------------------+- Declare `zmq_ctx_term` FFI import as safe.+ 0.6.5 ----------------------------------------------------------------------------- - `MonadBase` and `MonadBaseControl` instances for ZMQ (by Maciej Woś).
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
src/System/ZMQ4/Internal/Base.hsc view
@@ -61,7 +61,9 @@ type ZMQSocket = Ptr () type ZMQPollPtr = Ptr ZMQPoll +#if __GLASGOW_HASKELL__ < 800 #let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__)+#endif ----------------------------------------------------------------------------- -- Socket Types@@ -272,7 +274,7 @@ foreign import ccall unsafe "zmq.h zmq_ctx_shutdown" c_zmq_ctx_shutdown :: ZMQCtx -> IO CInt -foreign import ccall unsafe "zmq.h zmq_ctx_term"+foreign import ccall safe "zmq.h zmq_ctx_term" c_zmq_ctx_term :: ZMQCtx -> IO CInt foreign import ccall unsafe "zmq.h zmq_ctx_get"
zeromq4-haskell.cabal view
@@ -1,5 +1,5 @@ name: zeromq4-haskell-version: 0.6.5+version: 0.6.6 synopsis: Bindings to ZeroMQ 4.x category: System, FFI license: MIT@@ -9,7 +9,7 @@ copyright: (c) 2010 - 2015 zeromq-haskell authors homepage: https://gitlab.com/twittner/zeromq-haskell/ stability: experimental-tested-With: GHC == 7.10.3+tested-With: GHC == 8.0.2 cabal-version: >= 1.8 build-type: Simple extra-source-files: