From 80cfe125983eb126a9f8afd974196cf0bf347877 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 27 Mar 2010 16:10:57 +0000 Subject: Fix libcss to use new libwapcaplet behaviour. TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162 --- include/libcss/select.h | 6 +++--- include/libcss/stylesheet.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') 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); -- cgit v1.2.3