summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-12-01 14:17:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-12-01 14:17:34 +0000
commit7d11de5da22b343716734be3be1810cb3163a696 (patch)
treeb7e092c889747cde6ffcd1eaad488c6ed10670c7 /src/stylesheet.h
parent9e8f4efc94c896b4df2110272f42d2c93e1512d4 (diff)
downloadlibcss-7d11de5da22b343716734be3be1810cb3163a696.tar.gz
libcss-7d11de5da22b343716734be3be1810cb3163a696.tar.bz2
Retain pointer to dictionary entries so we don't have to rediscover it later.
svn path=/trunk/libcss/; revision=5862
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 487f408..9f9b21e 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -180,14 +180,15 @@ css_error css_stylesheet_style_create(css_stylesheet *sheet, uint32_t len,
css_error css_stylesheet_style_destroy(css_stylesheet *sheet, css_style *style);
css_error css_stylesheet_selector_create(css_stylesheet *sheet,
- css_selector_type type, const css_string *name,
- const css_string *value, css_selector **selector);
+ css_selector_type type, const parserutils_hash_entry *name,
+ const parserutils_hash_entry *value, css_selector **selector);
css_error css_stylesheet_selector_destroy(css_stylesheet *sheet,
css_selector *selector);
css_error css_stylesheet_selector_detail_create(css_stylesheet *sheet,
- css_selector_type type, const css_string *name,
- const css_string *value, css_selector_detail **detail);
+ css_selector_type type, const parserutils_hash_entry *name,
+ const parserutils_hash_entry *value,
+ css_selector_detail **detail);
css_error css_stylesheet_selector_detail_destroy(css_stylesheet *sheet,
css_selector_detail *detail);