mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
lang/c/msgpack: c-macro based template
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@66 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
76dda6d36e
commit
1222466a1c
35 changed files with 1034 additions and 1507 deletions
|
|
@ -100,7 +100,7 @@ private:
|
|||
unpacker(const unpacker&);
|
||||
|
||||
public:
|
||||
static object unpack(const char* data, size_t len, zone& z);
|
||||
static object unpack(const char* data, size_t len, zone& z, size_t* off = NULL);
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -136,9 +136,9 @@ inline void unpacker::remove_nonparsed_buffer()
|
|||
{ m_used = m_off; }
|
||||
|
||||
|
||||
inline object unpack(const char* data, size_t len, zone& z)
|
||||
inline object unpack(const char* data, size_t len, zone& z, size_t* off = NULL)
|
||||
{
|
||||
return unpacker::unpack(data, len, z);
|
||||
return unpacker::unpack(data, len, z, off);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue