Re: [AD] load_datafile_object using index |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 2005-04-20 at 17:49 +0200, spoofer255@xxxxxxxxxx wrote:
> I think this is it. Inside attachment.
Looks good. Just a minor thing I noticed when reading the patch: For the
filename allocation, it would be simpler to do:
index->filename = ustrdup(filename);
This can be done by whoever applies it though (to new_api_branch), no
need to create a new patch.
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.
--
Elias Pschernig