[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 03/29] Introduce QString
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] Re: [PATCH 03/29] Introduce QString |
Date: |
Thu, 20 Aug 2009 11:19:33 -0300 |
On Thu, 20 Aug 2009 10:41:24 +0200
Paolo Bonzini <address@hidden> wrote:
> On 08/20/2009 01:07 AM, Luiz Capitulino wrote:
> > QString is a high-level data type that can be used to store C
> > strings.
> >
> > The following functions are available:
> >
> > - qstring_from_str() Create a new QString from a C string
> > - qstring_get_str() Return 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.
>
> Same comments as for qint.h.
>
> Maybe add qstring_dup_str, doing strdup(qstring_get_str(x))?
This is not needed by current code, I'm avoiding adding code
that won't be used.
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, (continued)
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Paolo Bonzini, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Avi Kivity, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Avi Kivity, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20
[Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Paolo Bonzini, 2009/08/20
[Qemu-devel] [PATCH 03/29] Introduce QString, Luiz Capitulino, 2009/08/19
[Qemu-devel] [PATCH 04/29] Introduce QDict, Luiz Capitulino, 2009/08/19
[Qemu-devel] Re: [PATCH 04/29] Introduce QDict, Paolo Bonzini, 2009/08/20
Re: [Qemu-devel] [PATCH 04/29] Introduce QDict, Markus Armbruster, 2009/08/24