qlit: use QType instead of int
Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180305172951.2150-3-marcandre.lureau@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
26ee12ad1f
commit
3d96ea44d4
|
@ -20,7 +20,7 @@ typedef struct QLitDictEntry QLitDictEntry;
|
||||||
typedef struct QLitObject QLitObject;
|
typedef struct QLitObject QLitObject;
|
||||||
|
|
||||||
struct QLitObject {
|
struct QLitObject {
|
||||||
int type;
|
QType type;
|
||||||
union {
|
union {
|
||||||
bool qbool;
|
bool qbool;
|
||||||
int64_t qnum;
|
int64_t qnum;
|
||||||
|
|
Loading…
Reference in a new issue