diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 09:51:00 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-09 09:51:00 +0000 |
commit | 568c5a8193006d12a47befaf493d1bbd76a5a5cd (patch) | |
tree | d70c1fb440341f3942b63f5a2254ea0fbe387996 /sparc.c | |
parent | a62d6e64bf1da39f529396fd06a9dd1f1526c90f (diff) | |
download | ruby-568c5a8193006d12a47befaf493d1bbd76a5a5cd.tar.gz |
* proc.c: add Binding#local_variable_get/set/defined?
to access local variables which a binding contains.
Most part of implementation by nobu.
* test/ruby/test_proc.rb: add a tests for above.
* vm.c, vm_core.h (rb_binding_add_dynavars): add a new function
to add a new environment to create space for new local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sparc.c')
0 files changed, 0 insertions, 0 deletions