mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
type conversion operator msgpack_object <-> msgpack::object
This commit is contained in:
parent
11abec1093
commit
d078eb0ad5
3 changed files with 26 additions and 3 deletions
|
|
@ -191,8 +191,7 @@ inline bool unpacker::execute()
|
|||
|
||||
inline object unpacker::data()
|
||||
{
|
||||
msgpack_object obj = msgpack_unpacker_data(this);
|
||||
return *reinterpret_cast<object*>(&obj);
|
||||
return msgpack_unpacker_data(this);
|
||||
}
|
||||
|
||||
inline zone* unpacker::release_zone()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue