[ruby-cvs:76686] 卜部昌平: ae2dc3f217 (master): rb_d efine_hooked_variable now free from ANYARGS

[email protected]
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
卜部昌平	2019-08-27 11:16:52 +0900 (Tue, 27 Aug 2019)

  New Revision: ae2dc3f217

  https://github.com/ruby/ruby/commit/ae2dc3f217

  Log:
    rb_define_hooked_variable now free from ANYARGS
    
    After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
    dangerous and should be extinct.  This commit uses rb_gvar_getter_t /
    rb_gvar_setter_t for rb_define_hooked_variable /
    rb_define_virtual_variable which revealed lots of function prototype
    inconsistencies.  Some of them were literally decades old, going back
    to dda5dc00cff334cac373096d444a0fd59e716124.

  Modified files:
    eval.c
    include/ruby/intern.h
    include/ruby/ruby.h
    io.c
    load.c
    process.c
    re.c
    ruby.c
    safe.c
    variable.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.