aboutsummaryrefslogtreecommitdiff
path: root/qobject.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-28 15:27:06 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:29 -0500
commit66f7048712693a6ff877209c1ff36aa8eadf2eb5 (patch)
treecd499ffb8fcb8082aea9da83cc8911bed884a688 /qobject.h
parent6b8d1ece705752cb0214fb89ccd3925eddc62df8 (diff)
Introduce QString
QString is a high-level data type that can be used to represent C strings. The following functions are available: - qstring_from_str() Create a new QString - qstring_get_str() Get a pointer to the stored string Note that qstring_get_str() is too low-level for a data type like this, but it's interesting for quick read-only accesses. 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 c6bee8ec61..d4eeb3f6c3 100644
--- a/qobject.h
+++ b/qobject.h
@@ -38,6 +38,7 @@
typedef enum {
QTYPE_NONE,
QTYPE_QINT,
+ QTYPE_QSTRING,
} qtype_code;
struct QObject;