From fc6b96707730c54fb7ac4040680d79864169b5e0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 27 Jul 2009 19:38:34 +0000 Subject: Calculate the in-memory size of stylesheets and provide some API to access this. svn path=/trunk/libcss/; revision=8830 --- include/libcss/stylesheet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libcss/stylesheet.h') 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 -- cgit v1.2.3