paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] Const correctness.


From: Eric Ross
Subject: Re: [paragui-users] Const correctness.
Date: Wed, 31 Jul 2002 02:01:24 -0400 (CLT)

On Tue, 30 Jul 2002, Andrew Ford wrote:

> Alas, this and other changes of the same kind may
> break binary compatability, and so can't be included
> in the 1.0 release.  We should fix this stuff for 1.2,
> though.
> 
> --- Guillaume Schmid <address@hidden> wrote:
> > 
> > I am using the PG_Draw functions and noticed that
> > anoyingly, the
> > `PG_Draw::BlitSurface(SDL_Surface *, const PG_Rect
> > &, SDL_Surface *,
> > const PG_Rect &)' function does not takes a const as
> > source surface.
> > Except if the internals of this function does modify
> > the source surface
> > (Does it ?) I think that it could benefit from being
> > defined as a const.
> > The same comment goes to all functions of the same
> > kind in the PG_Draw
> > namespace.

Yep, this stuff belongs to 1.2.

Guillaume, would you mind to create a patch to fix this ? Even a  little 
patch, only patching the functions you're using ? That could be very 
useful.


--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]