diff options
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r-- | include/libcss/stylesheet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index 5f00502..d639f13 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -17,12 +17,12 @@ typedef css_error (*css_import_handler)(void *pw, const char *url, css_stylesheet *sheet); -css_stylesheet *css_stylesheet_create(css_language_level level, +css_error css_stylesheet_create(css_language_level level, const char *charset, const char *url, const char *title, css_origin origin, uint32_t media, css_import_handler import_callback, void *import_pw, - css_alloc alloc, void *alloc_pw); -void css_stylesheet_destroy(css_stylesheet *sheet); + css_alloc alloc, void *alloc_pw, css_stylesheet **stylesheet); +css_error css_stylesheet_destroy(css_stylesheet *sheet); css_error css_stylesheet_append_data(css_stylesheet *sheet, const uint8_t *data, size_t len); |