scanner-utils: add priv member
For when a user of the scanner wants to pass something along with it. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
e8b112325c
commit
29a1a78008
|
@ -54,6 +54,7 @@ struct scanner {
|
||||||
unsigned token_line, token_column;
|
unsigned token_line, token_column;
|
||||||
const char *file_name;
|
const char *file_name;
|
||||||
struct xkb_context *ctx;
|
struct xkb_context *ctx;
|
||||||
|
void *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define scanner_log(scanner, level, fmt, ...) \
|
#define scanner_log(scanner, level, fmt, ...) \
|
||||||
|
|
Loading…
Reference in New Issue