mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-07-30 02:17:15 +02:00
Merge branch 'master' of https://github.com/jiangcaiyang/qmsgpack-patched
This commit is contained in:
BIN
doc/_themes/sphinx_rtd_theme
vendored
BIN
doc/_themes/sphinx_rtd_theme
vendored
Binary file not shown.
@ -4,6 +4,10 @@
|
||||
#include <QVariant>
|
||||
#include <QtGlobal>
|
||||
|
||||
#ifdef Q_OS_WINRT
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#define MSGPACK_MAJOR 0
|
||||
#define MSGPACK_MINOR 1
|
||||
#define MSGPACK_VERSION 0
|
||||
|
@ -8,18 +8,38 @@
|
||||
#include <QWriteLocker>
|
||||
|
||||
MsgPackPrivate::type_parser_f MsgPackPrivate::unpackers[32] = {
|
||||
unpack_nil,
|
||||
unpack_never_used,
|
||||
unpack_false, unpack_true,
|
||||
unpack_bin8, unpack_bin16, unpack_bin32,
|
||||
unpack_ext8, unpack_ext16, unpack_ext32,
|
||||
unpack_float32, unpack_float64,
|
||||
unpack_uint8, unpack_uint16, unpack_uint32, unpack_uint64,
|
||||
unpack_int8, unpack_int16, unpack_int32, unpack_int64,
|
||||
unpack_fixext1, unpack_fixext2, unpack_fixext4, unpack_fixext8, unpack_fixext16,
|
||||
unpack_str8, unpack_str16, unpack_str32,
|
||||
unpack_array16, unpack_array32,
|
||||
unpack_map16, unpack_map32
|
||||
MsgPackPrivate::unpack_nil,
|
||||
MsgPackPrivate::unpack_never_used,
|
||||
MsgPackPrivate::unpack_false,
|
||||
MsgPackPrivate::unpack_true,
|
||||
MsgPackPrivate::unpack_bin8,
|
||||
MsgPackPrivate::unpack_bin16,
|
||||
MsgPackPrivate::unpack_bin32,
|
||||
MsgPackPrivate::unpack_ext8,
|
||||
MsgPackPrivate::unpack_ext16,
|
||||
MsgPackPrivate::unpack_ext32,
|
||||
MsgPackPrivate::unpack_float32,
|
||||
MsgPackPrivate::unpack_float64,
|
||||
MsgPackPrivate::unpack_uint8,
|
||||
MsgPackPrivate::unpack_uint16,
|
||||
MsgPackPrivate::unpack_uint32,
|
||||
MsgPackPrivate::unpack_uint64,
|
||||
MsgPackPrivate::unpack_int8,
|
||||
MsgPackPrivate::unpack_int16,
|
||||
MsgPackPrivate::unpack_int32,
|
||||
MsgPackPrivate::unpack_int64,
|
||||
MsgPackPrivate::unpack_fixext1,
|
||||
MsgPackPrivate::unpack_fixext2,
|
||||
MsgPackPrivate::unpack_fixext4,
|
||||
MsgPackPrivate::unpack_fixext8,
|
||||
MsgPackPrivate::unpack_fixext16,
|
||||
MsgPackPrivate::unpack_str8,
|
||||
MsgPackPrivate::unpack_str16,
|
||||
MsgPackPrivate::unpack_str32,
|
||||
MsgPackPrivate::unpack_array16,
|
||||
MsgPackPrivate::unpack_array32,
|
||||
MsgPackPrivate::unpack_map16,
|
||||
MsgPackPrivate::unpack_map32
|
||||
};
|
||||
|
||||
QHash<qint8, MsgPack::unpack_user_f> MsgPackPrivate::user_unpackers;
|
||||
|
Reference in New Issue
Block a user