aboutsummaryrefslogtreecommitdiff
path: root/qdict.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-01-27 17:16:38 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-03 12:36:25 -0600
commitacc3b0336c24a0f8c2a9638fb7ae8580484b59ca (patch)
tree95e0f7991107d0d01f66a1e8bcdf829de5cc1d44 /qdict.h
parent9fec543fa69b03b82b5ffe4d1bf280701efaad1e (diff)
QDict: New qdict_get_double()
Helper function just like qdict_get_int(), just for QFloat/double. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qdict.h')
-rw-r--r--qdict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qdict.h b/qdict.h
index 2eaf6d54d3..579dcddc74 100644
--- a/qdict.h
+++ b/qdict.h
@@ -37,6 +37,7 @@ void qdict_iter(const QDict *qdict,
qdict_put_obj(qdict, key, QOBJECT(obj))
/* High level helpers */
+double qdict_get_double(const QDict *qdict, const char *key);
int64_t qdict_get_int(const QDict *qdict, const char *key);
int qdict_get_bool(const QDict *qdict, const char *key);
QList *qdict_get_qlist(const QDict *qdict, const char *key);