mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Older versions of C compilers don't like C++ comments
There's no need to exclude older compilers by putting C++ style comments in the C API header.
This commit is contained in:
parent
d2ee38acfe
commit
f67a199332
@ -381,15 +381,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