diff options
author | wm4 <wm4@nowhere> | 2013-12-21 19:27:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:13 +0100 |
commit | dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e (patch) | |
tree | ff77fc71275281769ce559dd7e8fd9b180f02213 /options/m_config.h | |
parent | 3846fc758789711347c0b11f87736b27fc6210a0 (diff) | |
download | mpv-dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e.tar.bz2 mpv-dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e.tar.xz |
m_config: add custom context to includefunc callback
Diffstat (limited to 'options/m_config.h')
-rw-r--r-- | options/m_config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/options/m_config.h b/options/m_config.h index 1f03a9abea..829fa90ba7 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -61,7 +61,8 @@ typedef struct m_config { bool use_profiles; bool is_toplevel; - int (*includefunc)(struct m_config *conf, char *filename, int flags); + int (*includefunc)(void *ctx, char *filename, int flags); + void *includefunc_ctx; void *optstruct; // struct mpopts or other } m_config_t; |