On Tue, Dec 21, 2010 at 06:46:56PM -0800, Alan Coopersmith wrote: > On 12/14/10 04:16 AM, Daniel Stone wrote: > > Hm, I'm really not wild about this at all. Getting all our types right > > is hard enough as it is, and I suspect we're just going to have problems > > with this leaking anyway. What happens if a toolkit and an app, or an > > app and a helper library, or whatever, disagree on whether or not the > > arguments need to be const? > > > > I'd say that we should just chalk this down as yet another Xlib API > > mistake, and people who need it to be const can just do the cast, take > > the warning if necessary, and move on with their lives. Or move on to > > XCB. > > Yeah, I hadn't thought through the issues of different levels of library > & toolkit with different ideas about what's right. I declare defeat and > will revert the original change.
Sorry to harsh your buzz. :) Cheers, Daniel
signature.asc
Description: Digital signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
