From 1c23bae15b2bb019c39af68b1c0cfc5bb40ba2a7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 25 Jan 2009 14:02:45 +0000 Subject: Selector hash. svn path=/trunk/libcss/; revision=6263 --- src/stylesheet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stylesheet.h') 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 #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 */ -- cgit v1.2.3