Re: G_CONST_RETURN

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

 



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.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux