diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-28 00:21:12 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-28 00:21:12 +0000 |
commit | 3e5284a0da373cc2e83a934af14c90f46cc4f547 (patch) | |
tree | 2a4006dd86e586cf45438caf010ec9babf9b98bb /include/libwapcaplet | |
parent | d398997c9328e1a32bb37084f8c45fee6a2557ee (diff) | |
download | libwapcaplet-3e5284a0da373cc2e83a934af14c90f46cc4f547.tar.gz libwapcaplet-3e5284a0da373cc2e83a934af14c90f46cc4f547.tar.bz2 |
Keep a record of the amount of memory consumed by a lwc_context.
svn path=/trunk/libwapcaplet/; revision=8834
Diffstat (limited to 'include/libwapcaplet')
-rw-r--r-- | include/libwapcaplet/libwapcaplet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h index 420f8c3..3b0899d 100644 --- a/include/libwapcaplet/libwapcaplet.h +++ b/include/libwapcaplet/libwapcaplet.h @@ -140,4 +140,9 @@ extern size_t lwc_string_length(lwc_string *str); */ extern uint32_t lwc_string_hash_value(lwc_string *str); +/** + * Retrieve the size, in bytes, of internment context \a ctx. + */ +extern size_t lwc_context_size(lwc_context *ctx); + #endif /* libwapcaplet_h_ */ |