Re: [AD] Assert in quat.c |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Attached is a tar.gz file containing a few files which needed some asserts. I only added them to the user functions becuase I assumed the helper functions did not need them. I did not go through every file, The attached files are not in diff form and are simply copies of the old files with added asserts. later--, jon On Sun, 3 Aug 2003 13:04:06 +0100 Vincent Penquerc'h <Vincent.Penquerch@xxxxxxxxxx> wrote: > > I havent checked other files yet, but I see that in all the quat.c > > functions where an AL_CONST QUAT * or just QUAT * is passed, > > there is no > > ASSERT(q) for the pointer much like in other functions where > > a BITMAP * > > is passed. Is it ok to go through all the functions and add the > > ASSERT line to them? > > If it doesn't make sense for the QUAT* to be NULL, then by all > means yes. Only a few people have actually made some ASSERT run, > and only very recently. It's likely there are many more missing. > > -- > Vincent Penquerc'h > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > -- > https://lists.sourceforge.net/lists/listinfo/alleg-developers >
Attachment:
al-diff.tar.gz
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |