paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] Const correctness.


From: Guillaume Schmid
Subject: Re: [paragui-users] Const correctness.
Date: 31 Jul 2002 08:24:49 +0200

Le mer 31/07/2002 à 08:01, Eric Ross a écrit :
> 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.
I am sorry, I use 1.0.3 for the moment. I think I will switch to 1.2 as
soon as it is beta and I will gladly contribute with patches if I can.
I want to finish a small game I just started to write then I will port
it to 1.2 as soon as possible.

a++
Guillaume.
> 
> 
> --
> 
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
> 






reply via email to

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