Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove zmqVersionInfo()

Refs #78
  • Loading branch information...
commit cc7f5846a1b7738c1197629557fb4e950bfd659b 1 parent daf235e
@patricklucas patricklucas authored
Showing with 0 additions and 16 deletions.
  1. +0 −16 binding.cc
View
16 binding.cc
@@ -761,21 +761,6 @@ namespace zmq {
*/
static Handle<Value>
- ZmqVersionInfo(const Arguments& args) {
- HandleScope scope;
-
- int major, minor, patch;
- zmq_version(&major, &minor, &patch);
-
- Local<Array> version = Array::New(3);
- version->Set(0, Number::New(major));
- version->Set(1, Number::New(minor));
- version->Set(2, Number::New(patch));
-
- return scope.Close(version);
- }
-
- static Handle<Value>
ZmqVersion(const Arguments& args) {
HandleScope scope;
@@ -835,7 +820,6 @@ namespace zmq {
NODE_DEFINE_CONSTANT(target, STATE_CLOSED);
NODE_SET_METHOD(target, "zmqVersion", ZmqVersion);
- NODE_SET_METHOD(target, "zmqVersionInfo", ZmqVersionInfo);
Context::Initialize(target);
Socket::Initialize(target);
Please sign in to comment.
Something went wrong with that request. Please try again.