mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-12 09:06:26 +00:00
Merge pull request #458 from vortechs2000/remove_cpp_comments_from_zmq_h
Older versions of C compilers don't like C++ comments
This commit is contained in:
commit
1348924251
@ -382,15 +382,15 @@ typedef struct
|
|||||||
|
|
||||||
ZMQ_EXPORT int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout);
|
ZMQ_EXPORT int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout);
|
||||||
|
|
||||||
// Built-in message proxy (3-way)
|
/* Built-in message proxy (3-way) */
|
||||||
|
|
||||||
ZMQ_EXPORT int zmq_proxy (void *frontend, void *backend, void *capture);
|
ZMQ_EXPORT int zmq_proxy (void *frontend, void *backend, void *capture);
|
||||||
|
|
||||||
// Deprecated aliases
|
/* Deprecated aliases */
|
||||||
#define ZMQ_STREAMER 1
|
#define ZMQ_STREAMER 1
|
||||||
#define ZMQ_FORWARDER 2
|
#define ZMQ_FORWARDER 2
|
||||||
#define ZMQ_QUEUE 3
|
#define ZMQ_QUEUE 3
|
||||||
// Deprecated method
|
/* Deprecated method */
|
||||||
ZMQ_EXPORT int zmq_device (int type, void *frontend, void *backend);
|
ZMQ_EXPORT int zmq_device (int type, void *frontend, void *backend);
|
||||||
|
|
||||||
#undef ZMQ_EXPORT
|
#undef ZMQ_EXPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user