[zeromq-dev] Making language bindings work with both maint andmaster

gonzalo diethelm gdiethelm at dcv.cl
Sat Oct 2 21:59:15 CEST 2010


My suggestion was to have #define macros to identify the version of 0MQ against which a binding is being compiled. Something like ZMQ_MAJOR, ZMQ_MINOR, etc. Or a single #define ZMQ_VERSION to 20101002 (YYYYMMDD).

Why would this not work with some bindings? Are those not compiled using the C public API?

----- Original Message -----
From: zeromq-dev-bounces at lists.zeromq.org <zeromq-dev-bounces at lists.zeromq.org>
To: zeromq-dev at lists.zeromq.org <zeromq-dev at mail.imatix.com>
Sent: Sat Oct 02 14:11:09 2010
Subject: [zeromq-dev] Making language bindings work with both maint andmaster

Hi all,

We have to think of a way to make language bindings work with both maint 
and master.

Obviously, each language binding maintainer could have maint and master 
branch as well, however, maintaining two branches is too big a burden 
for a small project like that.

There's a zmq_version function that returns version number of the 
installed libzmq, however, that won't help much in most cases.

Mikko recently suggested to define a version macro in zmq.h, something like:

#define ZMQ_VERSION 20009

or:

#define ZMQ_VERSION 20100

etc.

That may help with jzmq or rbzmq.

Not so much with cl-zmq, clrzmq.

I have no idea what would help for pyzmq and other bindings.

Thoughts?

Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101002/43f53cb9/attachment-0001.htm>


More information about the zeromq-dev mailing list