ruby-changes:48909
From: mame <ko1@a...>
Date: Tue, 5 Dec 2017 17:59:01 +0900 (JST)
Subject: [ruby-changes:48909] mame:r61027 (trunk): Hide ISeq#load
mame 2017-12-05 17:58:57 +0900 (Tue, 05 Dec 2017) New Revision: 61027 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61027 Log: Hide ISeq#load I disclosed it incorrectly at r61025. Sorry. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 61026) +++ iseq.c (revision 61027) @@ -2524,8 +2524,8 @@ Init_ISeq(void) https://github.com/ruby/ruby/blob/trunk/iseq.c#L2524 rb_define_private_method(rb_cISeq, "marshal_dump", iseqw_marshal_dump, 0); rb_define_private_method(rb_cISeq, "marshal_load", iseqw_marshal_load, 1); /* disable this feature because there is no verifier. */ -#endif rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); +#endif (void)iseq_s_load; rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/