diff options
author | wm4 <wm4@nowhere> | 2016-09-23 21:04:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-23 21:04:20 +0200 |
commit | f0fd6633205fe0b477032d2be5028a204c327e0b (patch) | |
tree | d88cf3bb29827f2fe63a8227d7e17e04792ef071 /options/m_config.h | |
parent | b9153ee177387efeedd1d5294b07a49e928d2ebd (diff) | |
download | mpv-f0fd6633205fe0b477032d2be5028a204c327e0b.tar.bz2 mpv-f0fd6633205fe0b477032d2be5028a204c327e0b.tar.xz |
m_config, command: remove some minor code duplication
I would have been fine with this, but now I want to add another flag,
and the duplication would become more messy than having a strange
function for deduplication.
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_config.h b/options/m_config.h index 74390f150b..4571488051 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -184,6 +184,8 @@ static inline int m_config_set_option0(struct m_config *config, int m_config_set_option_raw(struct m_config *config, struct m_config_option *co, void *data, int flags); +void m_config_mark_co_flags(struct m_config_option *co, int flags); + int m_config_set_option_raw_direct(struct m_config *config, struct m_config_option *co, void *data, int flags); |