summaryrefslogtreecommitdiff
path: root/bindings/ruby
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 14:45:23 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 14:45:23 +0100
commitfa6bf24d8030b0e54fd25b167064482e4cf08a36 (patch)
tree9f8f833da9607c9ba3376b45aa5cfafa4305e59c /bindings/ruby
parentc43aded531014895973c283fdd82bb2e5e85c789 (diff)
XREP & XREQ socket types added; zmq_queue device added
Diffstat (limited to 'bindings/ruby')
-rw-r--r--bindings/ruby/rbzmq.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/ruby/rbzmq.cpp b/bindings/ruby/rbzmq.cpp
index 43baeef..10ff55f 100644
--- a/bindings/ruby/rbzmq.cpp
+++ b/bindings/ruby/rbzmq.cpp
@@ -277,6 +277,8 @@ extern "C" void Init_librbzmq ()
rb_define_global_const ("PUB", INT2NUM (ZMQ_PUB));
rb_define_global_const ("REQ", INT2NUM (ZMQ_REQ));
rb_define_global_const ("REP", INT2NUM (ZMQ_REP));
+ rb_define_global_const ("XREQ", INT2NUM (ZMQ_XREQ));
+ rb_define_global_const ("XREP", INT2NUM (ZMQ_XREP));
rb_define_global_const ("UPSTREAM", INT2NUM (ZMQ_UPSTREAM));
rb_define_global_const ("DOWNSTREAM", INT2NUM (ZMQ_DOWNSTREAM));