diff options
Diffstat (limited to 'include/libcss')
-rw-r--r-- | include/libcss/select.h | 7 | ||||
-rw-r--r-- | include/libcss/stylesheet.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index bdc16ac..b6f9475 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -46,7 +46,14 @@ typedef struct css_select_results { css_computed_style *styles[CSS_PSEUDO_ELEMENT_COUNT]; } css_select_results; +typedef enum css_select_handler_version { + CSS_SELECT_HANDLER_VERSION_1 = 1 +} css_select_handler_version; + typedef struct css_select_handler { + /** ABI version of this structure */ + uint32_t handler_version; + css_error (*node_name)(void *pw, void *node, css_qname *qname); css_error (*node_classes)(void *pw, void *node, diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index 29049c9..8ef530e 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -89,10 +89,17 @@ typedef struct css_system_font { typedef css_error (*css_font_resolution_fn)(void *pw, lwc_string *name, css_system_font *system_font); +typedef enum css_stylesheet_params_version { + CSS_STYLESHEET_PARAMS_VERSION_1 = 1 +} css_stylesheet_params_version; + /** * Parameter block for css_stylesheet_create() */ typedef struct css_stylesheet_params { + /** ABI version of this structure */ + uint32_t params_version; + /** The language level of the stylesheet */ css_language_level level; |