c,cpp: add msgpack_vrefbuffer_migrate, msgpack::vrefbuffer::migrate

This commit is contained in:
frsyuki 2009-12-19 22:09:29 +09:00
parent 232aced926
commit c2dd22ec10
3 changed files with 36 additions and 1 deletions

View file

@ -76,6 +76,7 @@ int msgpack_vrefbuffer_append_copy(msgpack_vrefbuffer* vbuf,
int msgpack_vrefbuffer_append_ref(msgpack_vrefbuffer* vbuf,
const char* buf, unsigned int len);
int msgpack_vrefbuffer_migrate(msgpack_vrefbuffer* vbuf, msgpack_vrefbuffer* to);
int msgpack_vrefbuffer_write(void* data, const char* buf, unsigned int len)
{