RE: [AD] load_datafile_object using index |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] load_datafile_object using index
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Mon, 18 Apr 2005 13:55:09 -0700
- Thread-index: AcVEWBsgZhVr9hk9SAi+sbMoL84fEAAAMzHg
- Thread-topic: [AD] load_datafile_object using index
Gotcha.
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Elias Pschernig
> Sent: Monday, April 18, 2005 1:48 PM
> To: alleg-developers@xxxxxxxxxx
> Subject: RE: [AD] load_datafile_object using index
>
> 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
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers