diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-14 06:33:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-14 06:33:06 +0000 |
commit | dccf9e0c45f1f450d28ba0700dbb459247ba9f9d (patch) | |
tree | 8ef41c677fb06897c021b8d6615b70724d2efad3 /variable.c | |
parent | a23b1f745038f93e5cd2542fbf17b363686ccfd7 (diff) |
* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
to declare exported function.
* array.c (rb_ary_memsize), string.c (rb_str_memsize),
variable.c (rb_objspace_data_type_memsize): used in
objspace. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 33e663293e..5333aa2d92 100644 --- a/variable.c +++ b/variable.c @@ -944,7 +944,7 @@ rb_free_generic_ivar(VALUE obj) st_free_table((st_table *)tbl); } -size_t +RUBY_FUNC_EXPORTED size_t rb_generic_ivar_memsize(VALUE obj) { st_data_t tbl; |