diff options
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r-- | include/libcss/stylesheet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index e70214d..b9cb5ab 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -21,12 +21,12 @@ * \param abs Pointer to location to receive result * \return CSS_OK on success, appropriate error otherwise. */ -typedef css_error (*css_url_resolution_fn)(void *pw, lwc_context *dict, +typedef css_error (*css_url_resolution_fn)(void *pw, const char *base, lwc_string *rel, lwc_string **abs); css_error css_stylesheet_create(css_language_level level, const char *charset, const char *url, const char *title, - bool allow_quirks, bool inline_style, lwc_context *dict, + bool allow_quirks, bool inline_style, css_allocator_fn alloc, void *alloc_pw, css_url_resolution_fn resolve, void *resolve_pw, css_stylesheet **stylesheet); |