mirror of
https://github.com/romixlab/qmsgpack.git
synced 2026-02-04 06:15:24 +01:00
changed QMetaType::Type T to int to allow registration of custom QMetaTypes
This commit is contained in:
@@ -28,7 +28,7 @@ QByteArray MsgPack::pack(const QVariant &variant)
|
||||
return arr;
|
||||
}
|
||||
|
||||
bool MsgPack::registerPacker(QMetaType::Type qType, qint8 msgpackType, MsgPack::pack_user_f packer)
|
||||
bool MsgPack::registerPacker(int qType, qint8 msgpackType, MsgPack::pack_user_f packer)
|
||||
{
|
||||
return MsgPackPrivate::register_packer(qType, msgpackType, packer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user