Re: [AD] Splitting filesystem APIs

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


Is this a big change to the fshooks code we have now?

Pete

On Sat, Apr 18, 2009 at 4:22 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> I'm quite sick of discussing this and you probably are all as well.
> Just to let you know:
>
> Tomorrow (later today) I plan to split up the current fshook API into
> the traditional divisions: one part to deal with file streams, and one
> part deal with directory hierarchies.  A new type, ALLEGRO_FILE, will
> correspond to FILE.  For most users, including all uses in the addons
> right now, that's the only difference they will see.
>
> I will follow Elias's suggestion for a thread-local setting for the
> current vtable, integrated with al_(re)store_state.  I won't pursue
> my URI proposal.  Of course, it could be implemented by setting the
> vtable.
>
> Then I will concentrate on fixing the corner cases in the stream
> operations, and leave the directory stuff to someone who cares.
>
> Peter
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>




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