diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 19:38:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-27 19:38:34 +0000 |
commit | fc6b96707730c54fb7ac4040680d79864169b5e0 (patch) | |
tree | b26b5cc05c4ce87564b679628db3f044972eda3c /src/stylesheet.h | |
parent | 854eda8b63cc260524a5ec3e3681308b382c7060 (diff) | |
download | libcss-fc6b96707730c54fb7ac4040680d79864169b5e0.tar.gz libcss-fc6b96707730c54fb7ac4040680d79864169b5e0.tar.bz2 |
Calculate the in-memory size of stylesheets and provide some API to access this.
svn path=/trunk/libcss/; revision=8830
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index 4ac560c..80b58b0 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -175,6 +175,8 @@ struct css_stylesheet { bool inline_style; /**< Is an inline style */ + size_t size; /**< Size, in bytes */ + css_url_resolution_fn resolve; /**< URL resolution function */ void *resolve_pw; /**< Private word */ |