user type packing implemented

This commit is contained in:
Roman
2014-09-18 23:47:58 +04:00
parent 0e5c49f36d
commit 98cf9ff8ee
7 changed files with 97 additions and 29 deletions

View File

@@ -26,3 +26,9 @@ QByteArray MsgPack::pack(const QVariant &variant)
return arr;
}
bool MsgPack::registerPacker(QMetaType::Type qType, qint8 msgpackType, MsgPack::pack_user_f packer)
{
return MsgPackPrivate::register_packer(qType, msgpackType, packer);
}