Skip to content

Commit

Permalink
properly export deprecated constants for backcompat
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Mar 26, 2012
1 parent 00bbb7e commit d7f0b8a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ZMQ-Constants/lib/ZMQ/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ our %EXPORT_TAGS = (
ZMQ_HWM
ZMQ_SWAP
ZMQ_NOBLOCK
),
# only in v2.x
qw(
ZMQ_XREQ
ZMQ_XREP
ZMQ_UPSTREAM
ZMQ_DOWNSTREAM
ZMQ_HWM
ZMQ_SWAP
) ],
message => [ qw(
ZMQ_MORE
Expand All @@ -152,6 +161,15 @@ our %EXPORT_TAGS = (
ZMQ_VSM
ZMQ_MSG_SHARED
ZMQ_MSG_MASK
),
# only in v2.x
qw(
ZMQ_MSG_MORE
ZMQ_MAX_VSM_SIZE
ZMQ_DELIMITER
ZMQ_VSM
ZMQ_MSG_SHARED
ZMQ_MSG_MASK
) ],
poller => [ qw(
ZMQ_POLLIN
Expand Down

0 comments on commit d7f0b8a

Please sign in to comment.