Re: [AD] Assert in quat.c

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


> 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?

Yes, but be sure to put it after the variable declarations.

--
Eric Botcazou




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