mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 04:22:41 +00:00
m_config: remove an unused function
This was one of those "shouldn't exist" type of functions that could access internals that were supposed to be isolated away, but some code needed to access it anyway. It looks like the last use of it went away in 2016, shortly after it was introduced.
This commit is contained in:
parent
e265c07547
commit
b37a9685ad
@ -1491,8 +1491,3 @@ void mp_read_option_raw(struct mpv_global *global, const char *name,
|
||||
memset(dst, 0, co->opt->type->size);
|
||||
m_option_copy(co->opt, dst, gdata->udata + co->opt->offset);
|
||||
}
|
||||
|
||||
struct m_config *mp_get_root_config(struct mpv_global *global)
|
||||
{
|
||||
return global->config->root;
|
||||
}
|
||||
|
@ -329,6 +329,4 @@ void *mp_get_config_group(void *ta_parent, struct mpv_global *global,
|
||||
void mp_read_option_raw(struct mpv_global *global, const char *name,
|
||||
const struct m_option_type *type, void *dst);
|
||||
|
||||
struct m_config *mp_get_root_config(struct mpv_global *global);
|
||||
|
||||
#endif /* MPLAYER_M_CONFIG_H */
|
||||
|
Loading…
Reference in New Issue
Block a user