[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wednesday 09 August 2006 12:44 am, Peter Wang wrote:
> On 2006-08-09, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > How do we feel about something like:
> >
> > al_set_path_hook(AL_PH_FOPEN, &fptr); // for extensions to use
> >
> > and have no global "set path hook vtable" function.
>
> I can't see what it does. Show the types.
VTABLE is like any vtable, will list needed hooks (ie: open, close, read,
write, etc).
enum {
AL_PH_FOPEN = 1,
AL_PH_FCLOSE,
AL_END
};
thats basically all there is to it.
> Peter
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx