[zeromq-dev] zmq_version

Martin Sustrik sustrik at 250bpm.com
Wed Jan 27 10:18:18 CET 2010


Peter,

> BTW, don't forget to add a function which returns the version of the
> ZMQ library. That gives the bindings the chance to check whether they
> are using the right version. At least for the Common Lisp bindings
> this is important, because no code is compiled against the header
> files. If the ZMQ API changes, this can result in error messages which
> are hard to understand.

Yes, this have been on TODO list for quite a long time already.

Any suggestions about the format? Something like this?

const char *version = zmq_version ();
// version == "2.0-beta3"

Martin



More information about the zeromq-dev mailing list