]> git.proxmox.com Git - qemu.git/commit
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)
commit66f7048712693a6ff877209c1ff36aa8eadf2eb5
treecd499ffb8fcb8082aea9da83cc8911bed884a688
parent6b8d1ece705752cb0214fb89ccd3925eddc62df8
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]