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