]> git.proxmox.com Git - mirror_qemu.git/commit
qlit: add qobject_from_qlit()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 5 Mar 2018 17:29:50 +0000 (18:29 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 19 Mar 2018 15:00:14 +0000 (10:00 -0500)
commit3cf42b8b3af1bd61e736a9ca0f94806c7931ae56
tree15cff8ff932d07da1143a70d5c7d04b2157f157a
parent3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39
qlit: add qobject_from_qlit()

Instantiate a QObject* from a literal QLitObject.

LitObject only supports int64_t for now.  uint64_t and double aren't
implemented.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180305172951.2150-4-marcandre.lureau@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
include/qapi/qmp/qlit.h
qobject/qlit.c
tests/check-qlit.c