diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-04 18:26:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-04 18:26:34 +0000 |
commit | 22f18932fb790295e6047ca1301687ade5546e94 (patch) | |
tree | 987cc975f7419e2a00ec9a5f504791b2750ff11a /src/parse/parse.h | |
parent | 4680b309e825db1d669b04056bc3cbdf273f5d80 (diff) | |
download | libcss-22f18932fb790295e6047ca1301687ade5546e94.tar.gz libcss-22f18932fb790295e6047ca1301687ade5546e94.tar.bz2 |
Change API of event callback to return css_error (this is more useful than bool)
Implement all the context-related event handlers in the stage 2 parser.
svn path=/trunk/libcss/; revision=4898
Diffstat (limited to 'src/parse/parse.h')
-rw-r--r-- | src/parse/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/parse.h b/src/parse/parse.h index 4137c65..ec88347 100644 --- a/src/parse/parse.h +++ b/src/parse/parse.h @@ -33,7 +33,7 @@ typedef enum css_parser_event { CSS_PARSER_DECLARATION, } css_parser_event; -typedef bool (*css_parser_event_handler)(css_parser_event type, +typedef css_error (*css_parser_event_handler)(css_parser_event type, const parserutils_vector *tokens, void *pw); /** |