Re: Why no g_string_append_vprintf() ?



On Wed, 2005-12-21 at 14:58, Paul LeoNerd Evans wrote:
> Finally this would allow another function I added, because I noticed I
> keep doing:
> 
>   GString *str = g_string_new(NULL);
>   g_string_append_printf(str, fmt, ...);
>   return str;
> 
> Instead, we just
> 
>   return g_string_new_printf(fmt, ...);

I would welcome this addition. I do that *very* frequently.





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