diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-13 09:24:03 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-13 09:24:03 +0000 |
commit | fc18fccd5ed2050a05cad53714f429a529253711 (patch) | |
tree | 659c5ee8e912fd70546cd7578551701346b7fb61 /include/libcss/stylesheet.h | |
parent | c21a5d244101c695d59feaf5e333c194a33cc029 (diff) | |
download | libcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.gz libcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.bz2 |
Add structure versioning for client input
svn path=/trunk/libcss/; revision=12007
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r-- | include/libcss/stylesheet.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |