mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
proplist: pa_proplist_contains: constify proplist pointer
This commit is contained in:
parent
25b55284db
commit
5a146049df
2 changed files with 2 additions and 2 deletions
|
|
@ -632,7 +632,7 @@ fail:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pa_proplist_contains(pa_proplist *p, const char *key) {
|
int pa_proplist_contains(const pa_proplist *p, const char *key) {
|
||||||
pa_assert(p);
|
pa_assert(p);
|
||||||
pa_assert(key);
|
pa_assert(key);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -387,7 +387,7 @@ pa_proplist *pa_proplist_from_string(const char *str);
|
||||||
|
|
||||||
/** Returns 1 if an entry for the specified key exists in the
|
/** Returns 1 if an entry for the specified key exists in the
|
||||||
* property list. Returns negative on error. \since 0.9.11 */
|
* property list. Returns negative on error. \since 0.9.11 */
|
||||||
int pa_proplist_contains(pa_proplist *p, const char *key);
|
int pa_proplist_contains(const pa_proplist *p, const char *key);
|
||||||
|
|
||||||
/** Remove all entries from the property list object. \since 0.9.11 */
|
/** Remove all entries from the property list object. \since 0.9.11 */
|
||||||
void pa_proplist_clear(pa_proplist *p);
|
void pa_proplist_clear(pa_proplist *p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue