user type unpacking implemented, unpack code reorganized

This commit is contained in:
romixlab
2014-09-19 23:26:24 +04:00
parent 640f6fa155
commit 39a26510dc
7 changed files with 396 additions and 357 deletions
+6
View File
@@ -32,3 +32,9 @@ bool MsgPack::registerPacker(QMetaType::Type qType, qint8 msgpackType, MsgPack::
{
return MsgPackPrivate::register_packer(qType, msgpackType, packer);
}
bool MsgPack::registerUnpacker(qint8 msgpackType, MsgPack::unpack_user_f unpacker)
{
return MsgPackPrivate::register_unpacker(msgpackType, unpacker);
}