[AdgModel] New API to manipulate the named pairs
commit6c23b6a7176491eff2a9912f9c3c39b439ffff01
authorNicola Fontana <ntd@entidi.it>
Fri, 16 Oct 2009 19:03:23 +0000 (16 21:03 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 16 Oct 2009 19:03:23 +0000 (16 21:03 +0200)
treee45a3d8d9b6c1cac4c46ecafb82d070ecaa841c0
parenta3b4843ed9d78de3a3134a58199278916b0ec657
[AdgModel] New API to manipulate the named pairs

The new adg_model_foreach_named_pair() API allows to execute a
callback programmatically (reflecting what GLib does for has tables).
Returning a list of pairs is easily implementable by using this
function and passing an empty GSList as used_data, so an API to do this
is not planned.
adg/adg-model.c
adg/adg-model.h