summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:04:49 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit7bdee8f35ed0aa19c83377b7c264c51696f9653f (patch)
tree4051e8ed31372cc8410efb55b183aa48a07af682 /options/m_option.h
parent9242c34fa26aafb09a9973a5175c281233a13bdc (diff)
downloadmpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.bz2
mpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.xz
m_option: add mp_log context to sub-module print_help callback
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 7caa103f2f..abc45b07aa 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -114,7 +114,7 @@ struct m_obj_desc {
// Don't list entry with "help"
bool hidden;
// Callback to print custom help if "help" is passed
- void (*print_help)(void);
+ void (*print_help)(struct mp_log *log);
// Set by m_obj_list_find(). If the requested name is an old alias, this
// is set to the old name (while the name field uses the new name).
const char *replaced_name;