Re: GTK question


Subject: Re: GTK question
sterwill@abisource.com
Date: Wed Feb 16 2000 - 19:30:52 CST


Aaron Lehmann wrote:
> May I take this oportunity to plug g_strdup_printf()? This function will
> automatically return a char* to allocated memory of the right size filled
> with whatever you have specified in the args. Beats fixed-size buffers
> like this any day IMHO. It's worth looking it up in the docs. Don't forget
> to free the pointer you get back!

Ooh, sounds like a very handy function. I guess I should browse through
the docs for glib (haven't done that in a while).

-- 
Shaw Terwilliger



This archive was generated by hypermail 2b25 : Wed Feb 16 2000 - 19:30:53 CST