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 --- src/stylesheet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stylesheet.h') 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 */ -- cgit v1.2.3