diff options
| author | INADA Naoki <songofacandy@gmail.com> | 2010-10-26 01:26:06 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2010-10-26 01:26:06 +0900 |
| commit | 70982e204cb53b996e4f7bd4fd078b6fa91307df (patch) | |
| tree | 4c4cfeb183b502670101f5b6cf550063f015050c /python/msgpack/unpack_template.h | |
| parent | 2af7df58657b6e85c5d69f8127972cf254a064ec (diff) | |
| download | msgpack-python-70982e204cb53b996e4f7bd4fd078b6fa91307df.tar.gz | |
Add `object_hook` option to unpack and `default` option to pack.
(see simplejson for how to use).
Diffstat (limited to 'python/msgpack/unpack_template.h')
| -rw-r--r-- | python/msgpack/unpack_template.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/msgpack/unpack_template.h b/python/msgpack/unpack_template.h index ca6e1f3..1fdedd7 100644 --- a/python/msgpack/unpack_template.h +++ b/python/msgpack/unpack_template.h @@ -317,6 +317,7 @@ _push: case CT_MAP_VALUE: if(msgpack_unpack_callback(_map_item)(user, &c->obj, c->map_key, obj) < 0) { goto _failed; } if(--c->count == 0) { + msgpack_unpack_callback(_map_end)(user, &c->obj); obj = c->obj; --top; /*printf("stack pop %d\n", top);*/ |
