mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
m_config_core: remove mp_read_option_raw
With the previous series of commits, all usage of this bad function has been eliminated in mpv so we can just nuke it for good.
This commit is contained in:
@@ -131,13 +131,6 @@ bool m_config_cache_write_opt(struct m_config_cache *cache, void *ptr);
|
||||
void *mp_get_config_group(void *ta_parent, struct mpv_global *global,
|
||||
const struct m_sub_options *group);
|
||||
|
||||
// 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);
|
||||
|
||||
// Allocate a priv struct that is backed by global options (like AOs and VOs,
|
||||
// anything that uses m_obj_list.use_global_options == true).
|
||||
// The result contains a snapshot of the current option values of desc->options.
|
||||
|
||||
Reference in New Issue
Block a user