summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-16 22:03:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-16 22:03:12 +0000
commit58a22ba42a5c619f99b8e8e874f6316c26b42bb1 (patch)
tree4668df34d0323fd1ae4a869d1415e6020410529b /include
parent2840d3f8d4162fc501bc8cee0753f84f20957031 (diff)
downloadruby-58a22ba42a5c619f99b8e8e874f6316c26b42bb1.tar.gz
ruby-58a22ba42a5c619f99b8e8e874f6316c26b42bb1.tar.xz
ruby-58a22ba42a5c619f99b8e8e874f6316c26b42bb1.zip
* st.c, include/ruby/st.h (st_memsize): added. This function returns
the memory usage of st_talbe. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/st.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h
index 0c80d3a22..aebdaf569 100644
--- a/include/ruby/st.h
+++ b/include/ruby/st.h
@@ -107,6 +107,7 @@ int st_numcmp(st_data_t, st_data_t);
int st_numhash(st_data_t);
int st_strcasecmp(const char *s1, const char *s2);
int st_strncasecmp(const char *s1, const char *s2, size_t n);
+size_t st_memsize(st_table *);
#if defined(__cplusplus)
#if 0