Introduce QString
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Aug 2009 18:27:06 +0000 (15:27 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Sep 2009 14:37:29 +0000 (09:37 -0500)
commitdbcaf9d9f9e2eba91928ad7cb4c5339fce4ef887
treecd499ffb8fcb8082aea9da83cc8911bed884a688
parentfdc83e2a6bca5ce471983bb7b3c6b3265ba91c32
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>
Makefile
qobject.h
qstring.c [new file with mode: 0644]
qstring.h [new file with mode: 0644]