summaryrefslogtreecommitdiff
path: root/cpp/msgpack/vrefbuffer.hpp
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@users.sourceforge.jp>2010-05-25 02:57:37 +0900
committerfrsyuki <frsyuki@users.sourceforge.jp>2010-05-25 02:57:37 +0900
commitfc7da17fa2dbdc6385ad95f6848ee59598164440 (patch)
tree40f4d554925f7e6624a14d9adf5c860ee8717b99 /cpp/msgpack/vrefbuffer.hpp
parentdbebe9771b276bd286b2ccdb8ac88dd17a83524c (diff)
downloadmsgpack-python-fc7da17fa2dbdc6385ad95f6848ee59598164440.tar.gz
cpp: add sbuffer::clear() and vrefbuffer::clear()
Diffstat (limited to 'cpp/msgpack/vrefbuffer.hpp')
-rw-r--r--cpp/msgpack/vrefbuffer.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/msgpack/vrefbuffer.hpp b/cpp/msgpack/vrefbuffer.hpp
index c8eca7b..7e0ffb2 100644
--- a/cpp/msgpack/vrefbuffer.hpp
+++ b/cpp/msgpack/vrefbuffer.hpp
@@ -78,6 +78,11 @@ public:
}
}
+ void clear()
+ {
+ msgpack_vrefbuffer_clear(this);
+ }
+
private:
typedef msgpack_vrefbuffer base;