Re: [AD] Allegro 5 new config routines, alpha 1

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


On 2002-02-07, Vincent Penquerc'h <Vincent.Penquerch@xxxxxxxxxx> wrote:
> 
> - i would add a pointer type (would obviously not be read/written
>   from/to disk, but done at run time by the user).

Are you thinking what I think you're thinking?  With it, We wouldn't
need to support multiple userdata fields in structures: simply use the
address of the structure in the key, e.g. "/myapp/0xbeefcafe/prop". A
userdata field in BITMAPs would still be good (maybe to cache the key
name?), but most other structures can probably do without.

> - i'm still not too comfortable with having to go through a number
>   of hash lookups just to find out whether a key is down or not,
>   but that's another story entirely :)

Let's hope it's only an example :-)



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