diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 09:16:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 09:16:52 +0000 |
commit | cf9d17a3d3cad278f4eeb7aeebc8faaa7c1b845a (patch) | |
tree | 423652dfa3151f888095c15ccffe5ef2a1479e48 /template | |
parent | 0a8575c800599760613b290a309a99bd764d0961 (diff) | |
download | bundler-cf9d17a3d3cad278f4eeb7aeebc8faaa7c1b845a.tar.gz |
vm_method.c: make initialize methods private
* id.c (Init_id), template/id.h.tmpl: add initialize_{copy,clone,dup}
and respond_to_missing?.
* vm_method.c (rb_method_entry_make): make above methods private.
[Feature #6539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/id.h.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index f7e764c123..d5e82a989e 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -28,6 +28,9 @@ method_ids = %w[ Send __send__ Initialize + Initialize_copy + Initialize_clone + Initialize_dup UScore Bitblt Answer @@ -42,6 +45,7 @@ token_op_ids = %w[ preserved_ids = %w[ NULL Respond_to + Respond_to_missing IFUNC CFUNC _core_set_method_alias |