mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -05:00
cleanups
Follow the data/size argument order convention to make the api more consistent.
This commit is contained in:
parent
7f931464e8
commit
5bebfe022b
50 changed files with 253 additions and 252 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue