Removing another fake nested function.
This commit is contained in:
parent
0b524e6ef8
commit
346238a4ba
@ -92,16 +92,19 @@ bindingInit (const System mysys)
|
|||||||
dependInit (sys);
|
dependInit (sys);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! Destroy a binding and return true for iterator
|
||||||
|
int
|
||||||
|
binding_destroy_rtrue (Binding b)
|
||||||
|
{
|
||||||
|
binding_destroy (b);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
//! Close up
|
//! Close up
|
||||||
void
|
void
|
||||||
bindingDone ()
|
bindingDone ()
|
||||||
{
|
{
|
||||||
int delete (Binding b)
|
list_iterate (sys->bindings, binding_destroy_rtrue);
|
||||||
{
|
|
||||||
binding_destroy (b);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
list_iterate (sys->bindings, delete);
|
|
||||||
list_destroy (sys->bindings);
|
list_destroy (sys->bindings);
|
||||||
|
|
||||||
dependDone (sys);
|
dependDone (sys);
|
||||||
|
Loading…
Reference in New Issue
Block a user