Re: [AD] load_datafile_object with properties |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sat, 2002-10-05 at 23:45, Laurence Withers wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Saturday 05 October 2002 21:52, Eric Botcazou wrote:
> > [What do other developers think ? Can we add a 'next' member to the
> > DATAFILE_PROPERTY structure ?]
>
> I think we should make it into a linked list, add a public API, and
> document it properly. I am willing to do this if you or Elias want the
> change but don't have time.
I agree, a linked list would also work. Do you mean with public API,
just add a function "add_datafile_property (DATAFILE *dat, int type,
AL_CONST char *value)" ?
I'll try fixing my patch and include the next pointer instead of
realloc, and the above function. I re-installed Allegro on my university
account since they gave me some additional space to the 50MB quota now,
so I should find some time to do it during this week :)
--
Elias Pschernig