File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 60
60
#define ZMQ_NEW_MONITOR_EVENT_LAYOUT
61
61
#endif
62
62
63
+ #if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 0, 4)
64
+ #define ZMQ_HAS_PROXY_STEERABLE
65
+ #endif
66
+
63
67
// In order to prevent unused variable warnings when building in non-debug
64
68
// mode use this macro to make assertions.
65
69
#ifndef NDEBUG
@@ -109,7 +113,16 @@ namespace zmq
109
113
if (rc != 0 )
110
114
throw error_t ();
111
115
}
112
-
116
+
117
+ #ifdef ZMQ_HAS_PROXY_STEERABLE
118
+ inline void proxy_steerable (void *frontend, void *backend, void *capture, void *control)
119
+ {
120
+ int rc = zmq_proxy_steerable (frontend, backend, capture, control);
121
+ if (rc != 0 )
122
+ throw error_t ();
123
+ }
124
+ #endif
125
+
113
126
inline void version (int *major_, int *minor_, int *patch_)
114
127
{
115
128
zmq_version (major_, minor_, patch_);
You can’t perform that action at this time.
0 commit comments