summaryrefslogtreecommitdiff
path: root/bindings/python/pyzmq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/pyzmq.cpp')
-rw-r--r--bindings/python/pyzmq.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/python/pyzmq.cpp b/bindings/python/pyzmq.cpp
index f171eab..75f872d 100644
--- a/bindings/python/pyzmq.cpp
+++ b/bindings/python/pyzmq.cpp
@@ -498,6 +498,12 @@ PyMODINIT_FUNC initlibpyzmq ()
t = PyInt_FromLong (ZMQ_REP);
PyDict_SetItemString (dict, "REP", t);
Py_DECREF (t);
+ t = PyInt_FromLong (ZMQ_XREQ);
+ PyDict_SetItemString (dict, "XREQ", t);
+ Py_DECREF (t);
+ t = PyInt_FromLong (ZMQ_XREP);
+ PyDict_SetItemString (dict, "XREP", t);
+ Py_DECREF (t);
t = PyInt_FromLong (ZMQ_UPSTREAM);
PyDict_SetItemString (dict, "UPSTREAM", t);
Py_DECREF (t);