Re: G_CONST_RETURN
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Neil Zanella <nzanella gmail com>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: G_CONST_RETURN
- Date: Fri, 19 Nov 2004 21:16:31 +0100
On Fri, Nov 19, 2004 at 12:56:30PM -0700, Neil Zanella wrote:
> When looking at the GTK API I see several places that use G_CONST_RETURN.
> What are these macros there?
http://developer.gnome.org/doc/API/2.0/glib/glib-Standard-Macros.html#G-CONST-RETURN:CAPS
> I cast their effect away with casts,
That's not the best way to get rid of it.
http://developer.gnome.org/doc/API/2.0/glib/glib-Standard-Macros.html#G-CONST-RETURN:CAPS
> (not sure why a function would have to return a
> const value any more).
What's so strange on a function that returns a const string?
Yeti
--
Dynamic IP address is not a crime.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]