remove msgpack_unpacker_buffered_size, add msgpack_unpacker_parsed_size

This commit is contained in:
frsyuki 2009-02-26 01:15:14 +09:00
parent 8893523776
commit 5697b9a15d
5 changed files with 26 additions and 19 deletions

View file

@ -59,7 +59,6 @@ msgpack_unpack_struct_decl(_context) {
msgpack_unpack_func(void, _init)(msgpack_unpack_struct(_context)* ctx)
{
/*memset(ctx, 0, sizeof( msgpack_unpack_struct(_context) )); FIXME needed? */
ctx->cs = CS_HEADER;
ctx->trail = 0;
ctx->top = 0;