Re: GLib String support



Am Montag, den 11.08.2008, 11:48 -0400 schrieb Behdad Esfahbod:
> > Hmm... Early validation of our strings, not that stupid. Here some
> > starting port for brain storming:
> > 
> >         struct _GString
> >         {
> >           gchar  *str;
> >           gsize len;    
> >           gsize allocated_len;
> >           gboolean tainted : 1;
> >         };
> > 
> > Let's add the important g_utf8_ functions to g_string, and let them
> > operate without validation when tainted is false.
> 
> First show me an example that validation shows up in profiles...

Good point.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
Openismus GmbH: http://www.openismus.com/
Personal Site: http://taschenorakel.de/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]