diff options
author | frsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731> | 2009-02-15 09:09:56 +0000 |
---|---|---|
committer | frsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731> | 2009-02-15 09:09:56 +0000 |
commit | 97bc0441b1204b3eb38f9cfc03f90e5ee675ab9a (patch) | |
tree | f83049ca457011380e907d6483e435cd2babc740 /cpp/unpack.hpp | |
parent | 94cbe54cf377f16bcc18b80d8b6f81eefd50e723 (diff) | |
download | msgpack-python-97bc0441b1204b3eb38f9cfc03f90e5ee675ab9a.tar.gz |
lang/c/msgpack: C++ binding: enlarged chunk size of zone
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@58 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
Diffstat (limited to 'cpp/unpack.hpp')
-rw-r--r-- | cpp/unpack.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/unpack.hpp b/cpp/unpack.hpp index ae536c9..9bda544 100644 --- a/cpp/unpack.hpp +++ b/cpp/unpack.hpp @@ -12,6 +12,9 @@ namespace msgpack { +static const size_t UNPACKER_INITIAL_BUFFER_SIZE = MSGPACK_UNPACKER_INITIAL_BUFFER_SIZE; + + struct unpack_error : public std::runtime_error { unpack_error(const std::string& msg) : std::runtime_error(msg) { } |