mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm.c: make ruby_vm_*_ptr static
No point in wasting space until we get MVM (if ever). * vm.c (ruby_vm_verbose_ptr): make static (ruby_vm_debug_ptr): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a560f2a4cc
commit
1e2a457574
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Dec 5 06:03:54 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* vm.c (ruby_vm_verbose_ptr): make static
|
||||
(ruby_vm_debug_ptr): ditto
|
||||
|
||||
Sat Dec 5 00:56:29 2015 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881.
|
||||
|
|
4
vm.c
4
vm.c
|
@ -2989,13 +2989,13 @@ Init_top_self(void)
|
|||
rb_define_alias(rb_singleton_class(rb_vm_top_self()), "inspect", "to_s");
|
||||
}
|
||||
|
||||
VALUE *
|
||||
static VALUE *
|
||||
ruby_vm_verbose_ptr(rb_vm_t *vm)
|
||||
{
|
||||
return &vm->verbose;
|
||||
}
|
||||
|
||||
VALUE *
|
||||
static VALUE *
|
||||
ruby_vm_debug_ptr(rb_vm_t *vm)
|
||||
{
|
||||
return &vm->debug;
|
||||
|
|
Loading…
Reference in a new issue