summaryrefslogtreecommitdiffstats
path: root/qemu/include/qapi/qmp/qint.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/include/qapi/qmp/qint.h')
-rw-r--r--qemu/include/qapi/qmp/qint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu/include/qapi/qmp/qint.h b/qemu/include/qapi/qmp/qint.h
index 48a41b0f2..3aaff768d 100644
--- a/qemu/include/qapi/qmp/qint.h
+++ b/qemu/include/qapi/qmp/qint.h
@@ -13,16 +13,16 @@
#ifndef QINT_H
#define QINT_H
-#include <stdint.h>
#include "qapi/qmp/qobject.h"
typedef struct QInt {
- QObject_HEAD;
+ QObject base;
int64_t value;
} QInt;
QInt *qint_from_int(int64_t value);
int64_t qint_get_int(const QInt *qi);
QInt *qobject_to_qint(const QObject *obj);
+void qint_destroy_obj(QObject *obj);
#endif /* QINT_H */