Thanks Pieter, I have updated in conformance to RFC 21 (not checked all
the details):
https://github.com/lalebarde/libzmq/commit/5440e9732d8f449abf8acdcb6cb8679dd11734d6
Cheers,
Laurent
Le 05/02/2014 21:14, Pieter Hintjens a écrit :
You can see how to do C API design in e.g. CZMQ, or RFC 21:
http://rfc.zeromq.org/spec:21
On Wed, Feb 5, 2014 at 6:43 PM, Laurent Alebarde <l.aleba...@free.fr> wrote:
Le 05/02/2014 12:51, Pieter Hintjens a écrit :
typedef struct zmq_proxy_open_chain_t {unsigned char _ [496];}
Again, seriously? Magic numbers? We do this for zmq_msg for
unfortunate historic reasons. It is _very bad_ API design.
Replaced by an opaque void pointer, eliminating this awful trick.
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev