Re: [AD] al_remove_config_value

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


On Sat, 27 Oct 2012 14:21:16 +0200, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> It seems the only way right now to remove a config entry is to create a
> new config then loop through all entries and leave out the ones to be
> removed.
> 
> If this is true, I believe we should add a function
> al_remove_config_value (or do like in A4, have al_set_config_value with
> a NULL value remove it).

Sounds fine.  I think I prefer al_remove_config_value.

> 
> Best way is probably to add an _al_aa_remove for it. Peter: Did you
> write the AA tree implementation from scratch, or is there a place
> where I might find the missing remove function?

It's a straightforward translation from the paper.  Delete is
also described there; the Wikipedia version may be easier to read.

http://user.it.uu.se/~arnea/abs/simp.html
http://en.wikipedia.org/wiki/AA_tree

You can do it or I can do it.

Peter




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