forked from external/yambar
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:
parent
c5d3e934b4
commit
5a155d1a8d
2 changed files with 2 additions and 0 deletions
1
module.h
1
module.h
|
@ -16,6 +16,7 @@ struct module_run_context {
|
|||
struct module_expose_context {
|
||||
struct exposable *exposable;
|
||||
int width;
|
||||
void *private;
|
||||
};
|
||||
|
||||
struct module {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue