mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_is_pending: constify
This commit is contained in:
parent
e7c88ee169
commit
3b1ecb720d
2 changed files with 2 additions and 2 deletions
|
|
@ -1106,7 +1106,7 @@ void pa_context_set_event_callback(pa_context *c, pa_context_event_cb_t cb, void
|
|||
c->event_userdata = userdata;
|
||||
}
|
||||
|
||||
int pa_context_is_pending(pa_context *c) {
|
||||
int pa_context_is_pending(const pa_context *c) {
|
||||
pa_assert(c);
|
||||
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ void pa_context_set_event_callback(pa_context *p, pa_context_event_cb_t cb, void
|
|||
int pa_context_errno(const pa_context *c);
|
||||
|
||||
/** Return non-zero if some data is pending to be written to the connection */
|
||||
int pa_context_is_pending(pa_context *c);
|
||||
int pa_context_is_pending(const pa_context *c);
|
||||
|
||||
/** Return the current context status */
|
||||
pa_context_state_t pa_context_get_state(const pa_context *c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue