Re: GHashTable and const



Havoc Pennington wrote:
I'm not a GTK maintainer, but one problem with this is backward
compatibility. Adding const can certainly break previously-working
code, especially C++ code.
This was an issued once faced when people migrated from K&R C to ANSI C.

Nothing wrong with having a gconst that is defined to nothing on systems that do not support it, or for compatibility. Not saying it should be done or not - but if it is done, this isn't the first time in history this compatibility issue has been faced.
Cheers,
mark

--
Mark Mielke <mark mielke cc>



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