Re: [AD] Allegro 4.2 todos

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


> > new include/allegro/rand.h ?

No, this is wrong. This header is public. Internal stuff must go in 
include/allegro/internal/aintern.h

> Gone this way and patched the whole lib. Added
>
> int _al_rand(void);
> void _al_srand(int seed);
>
> and replaced all occurrencies of rand() and srand() with them all over the
> library.

Ok in the library and the plugins, but not ok in the programs/examples.

-- 
Eric Botcazou




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