summaryrefslogtreecommitdiff
path: root/include/libcss
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-27 19:38:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-27 19:38:34 +0000
commitfc6b96707730c54fb7ac4040680d79864169b5e0 (patch)
treeb26b5cc05c4ce87564b679628db3f044972eda3c /include/libcss
parent854eda8b63cc260524a5ec3e3681308b382c7060 (diff)
downloadlibcss-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 'include/libcss')
-rw-r--r--include/libcss/stylesheet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h
index bdb45fa..940e9b7 100644
--- a/include/libcss/stylesheet.h
+++ b/include/libcss/stylesheet.h
@@ -54,5 +54,7 @@ css_error css_stylesheet_used_quirks(css_stylesheet *sheet, bool *quirks);
css_error css_stylesheet_get_disabled(css_stylesheet *sheet, bool *disabled);
css_error css_stylesheet_set_disabled(css_stylesheet *sheet, bool disabled);
+css_error css_stylesheet_size(css_stylesheet *sheet, size_t *size);
+
#endif