summaryrefslogtreecommitdiff
path: root/src/swap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/swap.hpp')
-rw-r--r--src/swap.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/swap.hpp b/src/swap.hpp
index 6180317..bc62fcd 100644
--- a/src/swap.hpp
+++ b/src/swap.hpp
@@ -59,8 +59,12 @@ namespace zmq
// Returns true if the swap is empty; false otherwise.
bool empty ();
- // Returns true if and only if the swap is full.
- bool full ();
+
+// // Returns true if and only if the swap is full.
+// bool full ();
+
+ // Returns true if the message fits into swap.
+ bool fits (zmq_msg_t *msg_);
private: