1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* cont.c (fiber_memsize): Return size.

Before this change, fiber_memsize always returns 0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-10-03 23:00:21 +00:00
parent e1d5d4e7f2
commit eaa4e02d45
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Oct 4 07:57:51 2010 NARUSE, Yui <naruse@ruby-lang.org>
* cont.c (fiber_memsize): Return size.
Before this change, fiber_memsize always returns 0.
Mon Oct 4 07:16:55 2010 NARUSE, Yui <naruse@ruby-lang.org>
* enc/unicode.c (onigenc_unicode_property_name_to_ctype):

2
cont.c
View file

@ -319,7 +319,7 @@ fiber_memsize(const void *ptr)
}
size += cont_memsize(&fib->cont);
}
return 0;
return size;
}
static void