summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-02-20 06:53:09 +0100
committerDudemanguy <random342@airmail.cc>2023-02-21 17:15:17 +0000
commit17d91b9d4d2d208f4a847395198cdbbcad18de93 (patch)
treee87e6f96d1b9f29a268a43a7d16ad4bed2e8b857 /options/m_option.h
parent4ebfe9851c63c8aa55292c01f23fedd9313ed191 (diff)
downloadmpv-17d91b9d4d2d208f4a847395198cdbbcad18de93.tar.bz2
mpv-17d91b9d4d2d208f4a847395198cdbbcad18de93.tar.xz
options: transition properties from flag to bool
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 435f11f912..68c3af8cbd 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -212,7 +212,7 @@ struct m_sub_options {
bool (*get_sub_options)(int index, const struct m_sub_options **sub);
};
-#define CONF_TYPE_FLAG (&m_option_type_flag)
+#define CONF_TYPE_BOOL (&m_option_type_bool)
#define CONF_TYPE_INT (&m_option_type_int)
#define CONF_TYPE_INT64 (&m_option_type_int64)
#define CONF_TYPE_FLOAT (&m_option_type_float)
@@ -232,7 +232,6 @@ struct m_sub_options {
// size/alignment requirements for option values in general.
union m_option_value {
bool bool_;
- int flag; // not the C type "bool"!
int int_;
int64_t int64;
float float_;