summaryrefslogtreecommitdiff
path: root/cpp/object.hpp
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:09:58 +0000
committerfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:09:58 +0000
commit1ad04b22d8d3e5267ceec7fc1527651ee0eb0ffe (patch)
tree32306ccc1f374c72440de881b928df9e945bd99f /cpp/object.hpp
parent921b0ff62ec99e9339d6cfaa6ba724ae7bb5f9ce (diff)
downloadmsgpack-python-1ad04b22d8d3e5267ceec7fc1527651ee0eb0ffe.tar.gz
lang/c/msgpack: divide pack_raw() into pack_raw() and pack_raw_body()
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@74 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
Diffstat (limited to 'cpp/object.hpp')
-rw-r--r--cpp/object.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/object.hpp b/cpp/object.hpp
index 77d55bb..13402cc 100644
--- a/cpp/object.hpp
+++ b/cpp/object.hpp
@@ -173,7 +173,8 @@ packer<Stream>& operator<< (packer<Stream>& o, const object& v)
return o;
case type::RAW:
- o.pack_raw(v.via.ref.ptr, v.via.ref.size);
+ o.pack_raw(v.via.ref.size);
+ o.pack_raw_body(v.via.ref.ptr, v.via.ref.size);
return o;
case type::ARRAY: