aboutsummaryrefslogtreecommitdiff
path: root/qobject.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-28 15:27:05 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:29 -0500
commit6b8d1ece705752cb0214fb89ccd3925eddc62df8 (patch)
tree450e655a60e90b51cb6cdbcf919dd8f8e229dd2e /qobject.h
parent5a1a2356490399c9b7eb850f9065af554b18cfd1 (diff)
downloadqemu-6b8d1ece705752cb0214fb89ccd3925eddc62df8.zip
qemu-6b8d1ece705752cb0214fb89ccd3925eddc62df8.tar.gz
qemu-6b8d1ece705752cb0214fb89ccd3925eddc62df8.tar.bz2
Introduce QInt
QInt is a high-level data type that can be used to represent integers, internally it stores an int64_t value. The following functions are available: - qint_from_int() Create a new QInt - qint_get_int() Get the stored integer Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qobject.h')
-rw-r--r--qobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qobject.h b/qobject.h
index 80c85ba..c6bee8e 100644
--- a/qobject.h
+++ b/qobject.h
@@ -37,6 +37,7 @@
typedef enum {
QTYPE_NONE,
+ QTYPE_QINT,
} qtype_code;
struct QObject;