summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 09:16:52 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 09:16:52 (GMT)
commitcf9d17a3d3cad278f4eeb7aeebc8faaa7c1b845a (patch)
tree423652dfa3151f888095c15ccffe5ef2a1479e48 /template/id.h.tmpl
parent0a8575c800599760613b290a309a99bd764d0961 (diff)
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/id.h.tmpl')
-rw-r--r--template/id.h.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index f7e764c..d5e82a9 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