summaryrefslogtreecommitdiff
path: root/include/libcss/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 08:13:30 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 08:13:30 +0000
commitab2a3c493f8f6430ad96f7637c842b666c29a9f4 (patch)
treec56229e077a10384d675b5a5f27beecc8fb74910 /include/libcss/stylesheet.h
parent1e5dee524f9fbff6c811dba66ff404882b02b900 (diff)
downloadlibcss-ab2a3c493f8f6430ad96f7637c842b666c29a9f4.tar.gz
libcss-ab2a3c493f8f6430ad96f7637c842b666c29a9f4.tar.bz2
Create a parser instance for a stylesheet. Also create a level-specific frontend. This probably wants reworking as we don't really want to be switching on the language level every time we want to interact with the parser frontend.
svn path=/trunk/libcss/; revision=5437
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r--include/libcss/stylesheet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h
index de4770e..5f00502 100644
--- a/include/libcss/stylesheet.h
+++ b/include/libcss/stylesheet.h
@@ -18,7 +18,7 @@ typedef css_error (*css_import_handler)(void *pw, const char *url,
css_stylesheet *sheet);
css_stylesheet *css_stylesheet_create(css_language_level level,
- const char *url, const char *title,
+ 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);