From dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 19:27:19 +0100 Subject: m_config: add custom context to includefunc callback --- options/m_config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/m_config.h') 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; -- cgit v1.2.3