Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Remove zmqVersionInfo()
Browse files Browse the repository at this point in the history
Refs #78
  • Loading branch information
patricklucas committed Jan 18, 2012
1 parent daf235e commit cc7f584
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions binding.cc
Expand Up @@ -760,21 +760,6 @@ namespace zmq {
* Module functions.
*/

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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit cc7f584

Please sign in to comment.