Re: g_utf8_validate() and NUL characters
- From: Sven Herzberg <herzi gnome-de org>
- To: Maciej Katafiasz <mathrick gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_utf8_validate() and NUL characters
- Date: Thu, 09 Oct 2008 03:33:09 +0200
Hi,
Am Donnerstag, den 09.10.2008, 00:01 +0000 schrieb Maciej Katafiasz:
> Den Tue, 07 Oct 2008 16:55:29 -0400 skrev Behdad Esfahbod:
> > coda wrote:
> >> Another possibility mentioned was making more use of GString.
> >
> > Not a huge fan.
>
> Why's that? GString is a very odd animal, we have it, it works fine and
> is as good a string implementation and as compatible with char* as
> possible within C, yet it seems to be used exactly nowhere. What's the
> reason not to use GStrings if they do just what's needed? Or why do we
> have them if no-one wants to use them?
Maciej, don't think of GString as the equivalent of eg.
java.lang.String, it's more an equivalent of java.lang.StringBuffer.
Regards,
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]