RE: GError update
- From: "Olivier Nenert" <onenert condumex com mx>
- To: "Eric Lemings" <eric b lemings lmco com>,<gtk-devel-list gnome org>
- Subject: RE: GError update
- Date: Fri, 30 Jun 2000 09:21:07 -0600
I guess it's just for speed.. this function won't even try to parse the
string, knowing it's a literal...
also, if you want to put a lot of '%' you will save as much '\' :)
cheers
Olivier.
-----Mensaje original-----
De: Eric Lemings <eric.b.lemings@lmco.com>
Para: gtk-devel-list@gnome.org <gtk-devel-list@gnome.org>
Fecha: Viernes, 30 de Junio de 2000 07:04
Asunto: Re: GError update
Havoc Pennington wrote:
>
> GError* g_error_new (GQuark domain,
> gint code,
> const gchar *format,
> ...) G_GNUC_PRINTF (3, 4);
>
> GError* g_error_new_literal (GQuark domain,
> gint code,
> const gchar *message);
Uh, I don't see the need for the second one since 'format' can be a
literal just like in printf.
Eric.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]