diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 20:22:59 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 20:22:59 +0000 |
commit | 269782473069c17385977a547db77a58c5718741 (patch) | |
tree | 8db3ad838f8505d1ced808deafee9a07e463c1fa /include/libcss/stylesheet.h | |
parent | 83c070f67a2c26672f0ddad9b7e9104c16d7015f (diff) | |
download | libcss-269782473069c17385977a547db77a58c5718741.tar.gz libcss-269782473069c17385977a547db77a58c5718741.tar.bz2 |
Make stylesheet component constructors/destructors report errors
svn path=/trunk/libcss/; revision=5675
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); |