Re: [AD] Adding some asserts

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2005-05-14, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On Wednesday 11 May 2005 19:08, Grzegorz Adam Hankiewicz wrote:
> > Proposed patch attached.
> 
> Looks fine. Commited.
> 
> I am curious how you come up with these though... do you open
> a sourcefile at random, add missing asserts and submit the
> patch? It's pretty much how I would come up with these anyway. :)

Going through the documentation I see the parameters of a function
and think how easy I would screw up passing the wrong values. Using
ctags, I hit a combo key and there's the code, assertless.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/