Skip to content

Commit

Permalink
Fix compatibility with zeromq 4.1. Close #83
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Jul 7, 2015
1 parent b401232 commit ed6c414
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 ed6c414

Please sign in to comment.