aboutsummaryrefslogtreecommitdiff
path: root/qstring.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-11-18 23:05:26 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:19 -0600
commit764c1caeb32bae139ce3984cba987e328a66e2ab (patch)
treeab924b29fee8f3133a95291ec08b984ec3aa71de /qstring.h
parent6fe9565c5b6f2872f115223df3d8d61eb78bff8c (diff)
QString: Introduce qstring_append_int()
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qstring.h')
-rw-r--r--qstring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qstring.h b/qstring.h
index 43581de761..c065331f3c 100644
--- a/qstring.h
+++ b/qstring.h
@@ -1,6 +1,7 @@
#ifndef QSTRING_H
#define QSTRING_H
+#include <stdint.h>
#include "qobject.h"
typedef struct QString {
@@ -13,6 +14,7 @@ typedef struct QString {
QString *qstring_new(void);
QString *qstring_from_str(const char *str);
const char *qstring_get_str(const QString *qstring);
+void qstring_append_int(QString *qstring, int64_t value);
void qstring_append(QString *qstring, const char *str);
void qstring_append_chr(QString *qstring, int c);
QString *qobject_to_qstring(const QObject *obj);