summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 10:48:45 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 10:48:45 +0000
commitd4b2c5ca526b7a4574aeca48236cd410efd74b74 (patch)
treee34db76f0bbb2e4f975c91eb2ed114ff856acc84 /include
parent842120bede2ef48f04f8bb3a1c8967d0d7457cac (diff)
parent761a9a99b72cfd2aa9e4d159c1bbd859cf70bd3f (diff)
downloadlibcss-d4b2c5ca526b7a4574aeca48236cd410efd74b74.tar.gz
libcss-d4b2c5ca526b7a4574aeca48236cd410efd74b74.tar.bz2
Merge branch 'tlsa/upfront-hints'
Diffstat (limited to 'include')
-rw-r--r--include/libcss/hint.h3
-rw-r--r--include/libcss/select.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/libcss/hint.h b/include/libcss/hint.h
index c3e928d..629d2f6 100644
--- a/include/libcss/hint.h
+++ b/include/libcss/hint.h
@@ -49,7 +49,8 @@ typedef struct css_hint {
lwc_string **strings;
} data;
- uint8_t status;
+ uint32_t prop; /**< Property index */
+ uint8_t status; /**< Property value */
} css_hint;
#ifdef __cplusplus
diff --git a/include/libcss/select.h b/include/libcss/select.h
index d504e81..bd2fed2 100644
--- a/include/libcss/select.h
+++ b/include/libcss/select.h
@@ -117,8 +117,8 @@ typedef struct css_select_handler {
css_error (*node_is_lang)(void *pw, void *node,
lwc_string *lang, bool *match);
- css_error (*node_presentational_hint)(void *pw, void *node,
- uint32_t property, css_hint *hint);
+ css_error (*node_presentational_hint)(void *pw, void *node,
+ uint32_t *nhints, css_hint **hints);
css_error (*ua_default_for_property)(void *pw, uint32_t property,
css_hint *hint);