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.




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