Re: g_snprintf typo?
- From: Raja R Harinath <harinath cs umn edu>
- To: gtk-devel-list redhat com
- Subject: Re: g_snprintf typo?
- Date: 18 Jan 1999 19:28:05 -0600
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]