From af0429b54eef973077f00d24d40fd17687a86ac0 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 16 Jun 2009 22:03:12 +0000 Subject: * st.c, include/ruby/st.h (st_memsize): added. This function returns the memory usage of st_talbe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/st.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby/st.h') diff --git a/include/ruby/st.h b/include/ruby/st.h index 0c80d3a225..aebdaf569d 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 -- cgit v1.2.3