Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

properly export deprecated constants for backcompat

  • Loading branch information...
commit d7f0b8a13f47c382076716d18e65781aefcbbbb5 1 parent 00bbb7e
@lestrrat authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 ZMQ-Constants/lib/ZMQ/Constants.pm
View
18 ZMQ-Constants/lib/ZMQ/Constants.pm
@@ -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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.