summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--options/m_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h
index 1b9648bd7f..a897ca053b 100644
--- a/options/m_config.h
+++ b/options/m_config.h
@@ -338,6 +338,7 @@ void *mp_get_config_group(void *ta_parent, struct mpv_global *global,
// Read a single global option in a thread-safe way. For multiple options,
// use m_config_cache. The option must exist and match the provided type (the
// type is used as a sanity check only). Performs semi-expensive lookup.
+// Warning: new code must not use this.
void mp_read_option_raw(struct mpv_global *global, const char *name,
const struct m_option_type *type, void *dst);