зеркало из https://github.com/github/ruby.git
Hide ISeq#load
I disclosed it incorrectly at r61025. Sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f6556c5c39
Коммит
f9c614c668
2
iseq.c
2
iseq.c
|
@ -2524,8 +2524,8 @@ Init_ISeq(void)
|
|||
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче