diff options
author | frsyuki <frsyuki@users.sourceforge.jp> | 2009-03-01 00:59:15 +0900 |
---|---|---|
committer | frsyuki <frsyuki@users.sourceforge.jp> | 2009-03-01 00:59:15 +0900 |
commit | 76f18a0ea679af7f964ec455d93acc9b2c25b942 (patch) | |
tree | e56a2991fc2f59c6c68dce9663d2ccaa98325268 /example/simple.c | |
parent | 00dcad17b915129f3e4f91f885cd946451fd8e31 (diff) | |
download | msgpack-python-76f18a0ea679af7f964ec455d93acc9b2c25b942.tar.gz |
c: msgpack_sbuffer; cpp: msgpack::sbuffer
Diffstat (limited to 'example/simple.c')
-rw-r--r-- | example/simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple.c b/example/simple.c index df60424..41d8bb7 100644 --- a/example/simple.c +++ b/example/simple.c @@ -23,7 +23,7 @@ int main(void) msgpack_zone_init(&mempool, 2048); msgpack_object deserialized; - msgpack_unpack(sbuf.ptr, sbuf.size, NULL, &mempool, &deserialized); + msgpack_unpack(sbuf.data, sbuf.size, NULL, &mempool, &deserialized); /* print the deserialized object. */ msgpack_object_print(stdout, deserialized); |