diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-25 14:02:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-25 14:02:45 +0000 |
commit | 1c23bae15b2bb019c39af68b1c0cfc5bb40ba2a7 (patch) | |
tree | 0d5426e92b6ea7dbadd2f3558be67ef4595e106d /src/stylesheet.h | |
parent | d0bb179f15f58958bc7d52bb36c1148b2ea79880 (diff) | |
download | libcss-1c23bae15b2bb019c39af68b1c0cfc5bb40ba2a7.tar.gz libcss-1c23bae15b2bb019c39af68b1c0cfc5bb40ba2a7.tar.bz2 |
Selector hash.
svn path=/trunk/libcss/; revision=6263
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index 6439325..57bca56 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -19,6 +19,7 @@ #include <libcss/types.h> #include "parse/parse.h" +#include "select/hash.h" typedef struct css_rule css_rule; typedef struct css_selector css_selector; @@ -137,8 +138,7 @@ typedef struct css_rule_charset { } css_rule_charset; struct css_stylesheet { -#define HASH_SIZE (37) - css_selector *selectors[HASH_SIZE]; /**< Hashtable of selectors */ + css_selector_hash *selectors; /**< Hashtable of selectors */ uint32_t rule_count; /**< Number of rules in sheet */ css_rule *rule_list; /**< List of rules in sheet */ |