From 66f7048712693a6ff877209c1ff36aa8eadf2eb5 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 28 Aug 2009 15:27:06 -0300 Subject: 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 Signed-off-by: Anthony Liguori --- qobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qobject.h') diff --git a/qobject.h b/qobject.h index c6bee8e..d4eeb3f 100644 --- a/qobject.h +++ b/qobject.h @@ -38,6 +38,7 @@ typedef enum { QTYPE_NONE, QTYPE_QINT, + QTYPE_QSTRING, } qtype_code; struct QObject; -- cgit v1.1