Compatibility mode implemented

This commit is contained in:
Roman
2014-11-02 23:28:21 +03:00
parent c07318c325
commit 5f4f72dac8
9 changed files with 51 additions and 30 deletions
+8 -3
View File
@@ -4,7 +4,7 @@
#include <QVariant>
#define MSGPACK_MAJOR 0
#define MSGPACK_MINOR 0
#define MSGPACK_MINOR 1
#define MSGPACK_VERSION 0
namespace MsgPack {
@@ -15,9 +15,14 @@ namespace MsgPack {
* return type size
*/
typedef quint32 (*pack_user_f)(const QVariant &variant, QByteArray &data, bool write);
/**
* unpack user type to QVariant
*/
typedef QVariant (*unpack_user_f)(const QByteArray &data);
/**
* @brief version
* @return current version
*/
QString version();
}