diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-08-28 15:27:05 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:29 -0500 |
commit | 6b8d1ece705752cb0214fb89ccd3925eddc62df8 (patch) | |
tree | 450e655a60e90b51cb6cdbcf919dd8f8e229dd2e /qobject.h | |
parent | 5a1a2356490399c9b7eb850f9065af554b18cfd1 (diff) | |
download | qemu-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ typedef enum { QTYPE_NONE, + QTYPE_QINT, } qtype_code; struct QObject; |