Re: [AD] file interface fopen

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


On 2010-12-18, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> I've been working with A5's file interfaces, namely creating an A4
> PACKFILE / DATAFILE loader, and the current setup of creating file
> interfaces bugs me. I recently proposed al_fopen_f on a.cc, but after
> playing around some more, that's not really what I want.
> 
> The problem in a nutshell is that the file interface is responsible
> for creating its own structure and therefore must have access to the
> Allegro internals, which of course is bad. So my proposal is:

ALLEGRO_FS_INTERFACE is public and documented.

ALLEGRO_FILE is documented as being opaque, but that could be considered
a mistake from earlier in the development process.  If we change the
documentation, would that solve the problem for you?

Peter




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