summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h4
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 */