mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
This commit is contained in:
parent
1c4393acf0
commit
c224aace42
11 changed files with 31 additions and 2 deletions
|
|
@ -483,6 +483,8 @@ static int pa_cli_command_describe(pa_core *c, pa_tokenizer *t, pa_strbuf *buf,
|
|||
if (i->usage)
|
||||
pa_strbuf_printf(buf, "Usage: %s\n", i->usage);
|
||||
pa_strbuf_printf(buf, "Load Once: %s\n", pa_yes_no(i->load_once));
|
||||
if (i->deprecated)
|
||||
pa_strbuf_printf(buf, "Warning, deprecated: %s\n", i->deprecated);
|
||||
}
|
||||
|
||||
pa_modinfo_free(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue