module: add a 'private' member to expose context

This allows modules that override begin/end_context to supply their
own auxiliary data.
This commit is contained in:
Daniel Eklöf 2018-11-17 17:14:53 +01:00
parent c5d3e934b4
commit 5a155d1a8d
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ struct module_run_context {
struct module_expose_context {
struct exposable *exposable;
int width;
void *private;
};
struct module {