diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-05-25 02:57:37 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-05-25 02:57:37 +0900 |
| commit | fc7da17fa2dbdc6385ad95f6848ee59598164440 (patch) | |
| tree | 40f4d554925f7e6624a14d9adf5c860ee8717b99 /cpp/msgpack/vrefbuffer.hpp | |
| parent | dbebe9771b276bd286b2ccdb8ac88dd17a83524c (diff) | |
| download | msgpack-python-fc7da17fa2dbdc6385ad95f6848ee59598164440.tar.gz | |
cpp: add sbuffer::clear() and vrefbuffer::clear()
Diffstat (limited to 'cpp/msgpack/vrefbuffer.hpp')
| -rw-r--r-- | cpp/msgpack/vrefbuffer.hpp | 5 |
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; |
