summaryrefslogtreecommitdiffstats
path: root/options/m_config_frontend.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-13 00:42:48 +0100
committerwm4 <wm4@nowhere>2020-03-13 16:50:27 +0100
commit28de668173b0c142d4d227eddbc15d7e25b3efbe (patch)
tree761d05f3e2e3684566701a5d6a2fdae32e1334cb /options/m_config_frontend.h
parenteb381cbd4b38dd496ee0be609f1a66c360a76448 (diff)
downloadmpv-28de668173b0c142d4d227eddbc15d7e25b3efbe.tar.bz2
mpv-28de668173b0c142d4d227eddbc15d7e25b3efbe.tar.xz
options: more pushing code around
Try to remove m_config implementation details from m_config_frontend. Not sure if I like it. Seems to be ~100 lines of awkward code more, and not much is gained from it. Also it took way too long to do it, and there might be bugs.
Diffstat (limited to 'options/m_config_frontend.h')
-rw-r--r--options/m_config_frontend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_config_frontend.h b/options/m_config_frontend.h
index 82d2ded2d6..19fbcadf25 100644
--- a/options/m_config_frontend.h
+++ b/options/m_config_frontend.h
@@ -50,7 +50,7 @@ struct m_config_option {
bool is_set_from_config : 1; // Set by a config file
bool is_set_locally : 1; // Has a backup entry
bool warning_was_printed : 1;
- int16_t group_index; // Index into m_config.groups
+ int32_t opt_id; // For some m_config APIs
const char *name; // Full name (ie option-subopt)
const struct m_option *opt; // Option description
void *data; // Raw value of the option