Re: g_snprintf typo?



Havoc Pennington <rhpennin@midway.uchicago.edu> writes:
> g_snprintf() and g_vsnprintf() declare the format arg as 'gchar const*',
> this is wrong, no?

Why? (Other than Owen's general reluctance to use `const', of course :-)

	gchar const * == const gchar *

and mean "this pointer will not allow the pointed-to data to be modified".

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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