mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
proplist: pa_proplist_[size|isempty]: constify proplist pointer
This commit is contained in:
parent
5a146049df
commit
2562446c4a
2 changed files with 4 additions and 4 deletions
|
|
@ -662,13 +662,13 @@ pa_proplist* pa_proplist_copy(const pa_proplist *p) {
|
|||
return copy;
|
||||
}
|
||||
|
||||
unsigned pa_proplist_size(pa_proplist *p) {
|
||||
unsigned pa_proplist_size(const pa_proplist *p) {
|
||||
pa_assert(p);
|
||||
|
||||
return pa_hashmap_size(MAKE_HASHMAP_CONST(p));
|
||||
}
|
||||
|
||||
int pa_proplist_isempty(pa_proplist *p) {
|
||||
int pa_proplist_isempty(const pa_proplist *p) {
|
||||
pa_assert(p);
|
||||
|
||||
return pa_hashmap_isempty(MAKE_HASHMAP_CONST(p));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue