mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
context: make dict const
The match rules operate on a const struct spa_dict.
This commit is contained in:
parent
fcc6f7fc7c
commit
59461113ba
2 changed files with 2 additions and 2 deletions
|
|
@ -1040,7 +1040,7 @@ static int match_rules(void *data, const char *location, const char *section,
|
|||
|
||||
SPA_EXPORT
|
||||
int pw_context_conf_section_match_rules(struct pw_context *context, const char *section,
|
||||
struct spa_dict *props,
|
||||
const struct spa_dict *props,
|
||||
int (*callback) (void *data, const char *location, const char *action,
|
||||
const char *str, size_t len),
|
||||
void *data)
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ int pw_context_conf_section_for_each(struct pw_context *context, const char *sec
|
|||
void *data);
|
||||
/** emit callback for all matched properties. Since 0.3.46 */
|
||||
int pw_context_conf_section_match_rules(struct pw_context *context, const char *section,
|
||||
struct spa_dict *props,
|
||||
const struct spa_dict *props,
|
||||
int (*callback) (void *data, const char *location, const char *action,
|
||||
const char *str, size_t len),
|
||||
void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue