diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parse/parse.c | 2 | ||||
-rw-r--r-- | src/parse/parse.h | 2 | ||||
-rw-r--r-- | src/stylesheet.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/parse/parse.c b/src/parse/parse.c index 276b1d8..e4b4d2d 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -293,7 +293,7 @@ css_error css_parser_setopt(css_parser *parser, css_parser_opttype type, * \param len Length of chunk * \return CSS_OK on success, appropriate error otherwise */ -css_error css_parser_css__parse_chunk(css_parser *parser, const uint8_t *data, +css_error css__parser_parse_chunk(css_parser *parser, const uint8_t *data, size_t len) { parserutils_error perror; diff --git a/src/parse/parse.h b/src/parse/parse.h index 7514887..23f1f63 100644 --- a/src/parse/parse.h +++ b/src/parse/parse.h @@ -68,7 +68,7 @@ css_error css_parser_destroy(css_parser *parser); css_error css_parser_setopt(css_parser *parser, css_parser_opttype type, css_parser_optparams *params); -css_error css_parser_css__parse_chunk(css_parser *parser, const uint8_t *data, +css_error css__parser_parse_chunk(css_parser *parser, const uint8_t *data, size_t len); css_error css_parser_completed(css_parser *parser); diff --git a/src/stylesheet.c b/src/stylesheet.c index 285c6be..3a0fadd 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -317,7 +317,7 @@ css_error css_stylesheet_append_data(css_stylesheet *sheet, if (sheet->parser == NULL) return CSS_INVALID; - return css_parser_css__parse_chunk(sheet->parser, data, len); + return css__parser_parse_chunk(sheet->parser, data, len); } /** |