mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
context: pa_context_get_server: constify
This commit is contained in:
parent
792c2f0d7b
commit
b4b37a0e66
2 changed files with 2 additions and 2 deletions
|
|
@ -1319,7 +1319,7 @@ const char* pa_get_library_version(void) {
|
||||||
return pa_get_headers_version();
|
return pa_get_headers_version();
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* pa_context_get_server(pa_context *c) {
|
const char* pa_context_get_server(const pa_context *c) {
|
||||||
pa_assert(c);
|
pa_assert(c);
|
||||||
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
pa_assert(PA_REFCNT_VALUE(c) >= 1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -233,7 +233,7 @@ int pa_context_is_local(const pa_context *c);
|
||||||
pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata);
|
pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata);
|
||||||
|
|
||||||
/** Return the server name this context is connected to. */
|
/** Return the server name this context is connected to. */
|
||||||
const char* pa_context_get_server(pa_context *c);
|
const char* pa_context_get_server(const pa_context *c);
|
||||||
|
|
||||||
/** Return the protocol version of the library. */
|
/** Return the protocol version of the library. */
|
||||||
uint32_t pa_context_get_protocol_version(const pa_context *c);
|
uint32_t pa_context_get_protocol_version(const pa_context *c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue