Re: [AD] load_datafile_object using index

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


> index->filename = ustrdup(filename);

Agreed.

> And about the naming, I find create/destroy is more consistent, since
> the index, unlike the single datafile objects, is created/destroyed
> instead of loaded/unloaded.

But index is loaded from the file. And it's more consistent then
create/destroy since it matches with load_datafile[_object] and other
function that read they data from files (like load_bitmap,
load_sample, etc).




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