mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
cpp: add sbuffer::clear() and vrefbuffer::clear()
This commit is contained in:
parent
dbebe9771b
commit
fc7da17fa2
6 changed files with 61 additions and 0 deletions
|
|
@ -78,6 +78,11 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
msgpack_vrefbuffer_clear(this);
|
||||
}
|
||||
|
||||
private:
|
||||
typedef msgpack_vrefbuffer base;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue