[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/4] qlit: use QType instead of int
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 2/4] qlit: use QType instead of int |
Date: |
Mon, 5 Mar 2018 18:29:49 +0100 |
Suggested-by: Markus Armbruster <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
---
include/qapi/qmp/qlit.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h
index 56f9d97bd9..f1ed082df8 100644
--- a/include/qapi/qmp/qlit.h
+++ b/include/qapi/qmp/qlit.h
@@ -20,7 +20,7 @@ typedef struct QLitDictEntry QLitDictEntry;
typedef struct QLitObject QLitObject;
struct QLitObject {
- int type;
+ QType type;
union {
bool qbool;
int64_t qnum;
--
2.16.2.346.g9779355e34
- [Qemu-devel] [PATCH 0/4] qapi: generate a literal qobject for introspection, Marc-André Lureau, 2018/03/05
- [Qemu-devel] [PATCH 2/4] qlit: use QType instead of int,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 4/4] qapi: generate a literal qobject for introspection, Marc-André Lureau, 2018/03/05
- [Qemu-devel] [PATCH 3/4] qlit: add qobject_from_qlit(), Marc-André Lureau, 2018/03/05
- [Qemu-devel] [PATCH 1/4] qapi2texi: minor python code simplification, Marc-André Lureau, 2018/03/05
- Re: [Qemu-devel] [PATCH 0/4] qapi: generate a literal qobject for introspection, no-reply, 2018/03/05
- Re: [Qemu-devel] [PATCH 0/4] qapi: generate a literal qobject for introspection, Eric Blake, 2018/03/08