]> git.proxmox.com Git - mirror_qemu.git/commit - qobject/qnum.c
qnum: add uint type
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Jun 2017 16:36:01 +0000 (20:36 +0400)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 20 Jun 2017 12:31:31 +0000 (14:31 +0200)
commit61a8f418b26a2d974e38e4ae55020aca8d402d88
tree3d0247aa5282793a911b8c699ae7c2da5772e50c
parent36aeb6094f04bed036c43c5e0eb675ca78bf72fe
qnum: add uint type

In order to store integer values between INT64_MAX and UINT64_MAX, add
a uint64_t internal representation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170607163635.17635-10-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/qapi/qmp/qnum.h
qobject/qnum.c
tests/check-qnum.c