mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
proplist: pa_proplist_iterate: constify proplist pointer
This commit is contained in:
parent
e82506f08d
commit
5d101fd2e2
2 changed files with 2 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ int pa_proplist_unset_many(pa_proplist *p, const char * const keys[]) {
|
|||
return n;
|
||||
}
|
||||
|
||||
const char *pa_proplist_iterate(pa_proplist *p, void **state) {
|
||||
const char *pa_proplist_iterate(const pa_proplist *p, void **state) {
|
||||
struct property *prop;
|
||||
|
||||
if (!(prop = pa_hashmap_iterate(MAKE_HASHMAP_CONST(p), state, NULL)))
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ int pa_proplist_unset_many(pa_proplist *p, const char * const keys[]);
|
|||
* current entry. On each invocation this function will return the
|
||||
* key string for the next entry. The keys in the property list do not
|
||||
* have any particular order. \since 0.9.11 */
|
||||
const char *pa_proplist_iterate(pa_proplist *p, void **state);
|
||||
const char *pa_proplist_iterate(const pa_proplist *p, void **state);
|
||||
|
||||
/** Format the property list nicely as a human readable string. This
|
||||
* works very much like pa_proplist_to_string_sep() and uses a newline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue