RE: [AD] load_datafile_object using index

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


On Mon, 2005-04-18 at 13:40 -0700, Robert Ohannessian wrote:
> > I agree, the user-provided big-enough array is bad.
> 
> Why? The user does specify how big his array is. Where's the problem?
> 

I meant the original, not Evert's:

> long index[DATA_COUNT]    //defined in data.h (grabber)
> DATAFILE *data;
>
> if (load_datafile_indexed("filename", index) != 0)
 
-- 
Elias Pschernig





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