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: <spoofer255@xxxxxxxxxx>
- Date: Wed, 20 Apr 2005 21:26:21 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J9v03N/+yIWMrZUcBeH61ZfMG3K2LF+zo65AfzPSH22v+z1KTjX8LnsZ27LPeva8gkzClOkNKyFAAiG3B+29d/c/d8ZHxpHL5IrhrBbJYWbuYkSHPdf8BzN72K9bvEND85I3StEeyknmqn3KAWux+nVSfdk+bjJzZZon7KDL3sg=
> 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).