diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-03 23:00:21 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-03 23:00:21 +0000 |
commit | eaa4e02d4507ad0658d95403a7a53b78ebb2ed53 (patch) | |
tree | 38a928b38fc24bd4067c32744e2ed78c62cce6c6 /cont.c | |
parent | e1d5d4e7f2dce151a2e768d0e2cea38f88185958 (diff) | |
download | ruby-eaa4e02d4507ad0658d95403a7a53b78ebb2ed53.tar.gz |
* 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
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -319,7 +319,7 @@ fiber_memsize(const void *ptr) } size += cont_memsize(&fib->cont); } - return 0; + return size; } static void |