Follow the data/size argument order convention to make the api
more consistent.
This commit is contained in:
Wim Taymans 2017-11-20 15:26:44 +01:00
parent 7f931464e8
commit 5bebfe022b
50 changed files with 253 additions and 252 deletions

View file

@ -37,11 +37,11 @@ struct spa_dict_item {
};
struct spa_dict {
uint32_t n_items;
const struct spa_dict_item *items;
uint32_t n_items;
};
#define SPA_DICT_INIT(n_items,items) { n_items, items }
#define SPA_DICT_INIT(items,n_items) { items, n_items }
#define spa_dict_for_each(item, dict) \
for ((item) = (dict)->items; \