summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcss/select.h6
-rw-r--r--include/libcss/stylesheet.h4
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);