diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-03-27 16:10:57 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-03-27 16:10:57 +0000 |
commit | 80cfe125983eb126a9f8afd974196cf0bf347877 (patch) | |
tree | e6fe993a7ad2fc6859509b661d2d4f721e846e60 /include | |
parent | 46e3a946d7b2f7d68f3753a37c6f68a732a36f01 (diff) | |
download | libcss-80cfe125983eb126a9f8afd974196cf0bf347877.tar.gz libcss-80cfe125983eb126a9f8afd974196cf0bf347877.tar.bz2 |
Fix libcss to use new libwapcaplet behaviour.
TODO: update the tests to include a refcounting proof
svn path=/trunk/libcss/; revision=10162
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/select.h | 6 | ||||
-rw-r--r-- | include/libcss/stylesheet.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index 931dcf1..72e9767 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -25,12 +25,12 @@ enum css_pseudo_element { typedef struct css_select_handler { css_error (*node_name)(void *pw, void *node, - lwc_context *dict, lwc_string **name); + lwc_string **name); css_error (*node_classes)(void *pw, void *node, - lwc_context *dict, lwc_string ***classes, + lwc_string ***classes, uint32_t *n_classes); css_error (*node_id)(void *pw, void *node, - lwc_context *dict, lwc_string **id); + lwc_string **id); css_error (*named_ancestor_node)(void *pw, void *node, lwc_string *name, void **ancestor); 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); |