summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-11 01:04:15 +0100
committerwm4 <wm4@nowhere>2014-12-11 01:04:15 +0100
commitd054289f668499d6acea307f14c62d44d35b6840 (patch)
treed01cd9f4195e0339cd6ee3aedd164d51c4742ebb /options/m_option.c
parenteb36bd6945bad1ddc80663f7b8d3fe95db3ca284 (diff)
downloadmpv-d054289f668499d6acea307f14c62d44d35b6840.tar.bz2
mpv-d054289f668499d6acea307f14c62d44d35b6840.tar.xz
options: add slightly more sophistcated mechanism for option deprecation
Diffstat (limited to 'options/m_option.c')
-rw-r--r--options/m_option.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/options/m_option.c b/options/m_option.c
index 36470c792d..f59ce6a47c 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -3181,3 +3181,11 @@ const m_option_type_t m_option_type_node = {
.set = node_set,
.get = node_get,
};
+
+// Special-cased by m_config.c.
+const m_option_type_t m_option_type_alias = {
+ .name = "alias",
+};
+const m_option_type_t m_option_type_removed = {
+ .name = "removed",
+};