Skip to content

Commit

Permalink
Merge pull request #84 from JuliaLang/yyc/zmq-4.1
Browse files Browse the repository at this point in the history
Fix compatibility with zeromq 4.1
  • Loading branch information
yuyichao committed Jul 7, 2015
2 parents b401232 + ed6c414 commit fab71ed
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/ZMQ.jl
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,11 @@ end
const gc_free_fn_c = cfunction(gc_free_fn, Cint, (Ptr{Void}, Ptr{Void}))

## Messages ##
bitstype 64 * 8 MsgPadding

type Message <: AbstractArray{UInt8,1}
# 32 bytes (for v3) + a pointer (for v2)
w0::Int64
w1::Int64
w2::Int64
w3::Int64
w4::Int
# Matching the declaration in the header: char _[64];
w_padding::MsgPadding
handle::Ptr{Void} # index into gc_protect, if any

# Create an empty message (for receive)
Expand Down

0 comments on commit fab71ed

Please sign in to comment.