ruby-changes:49178
From: k0kubun <ko1@a...>
Date: Sat, 16 Dec 2017 22:02:31 +0900 (JST)
Subject: [ruby-changes:49178] k0kubun:r61296 (trunk): vm.c: always export rb_frame_method_id_and_class
k0kubun 2017-12-16 22:02:25 +0900 (Sat, 16 Dec 2017) New Revision: 61296 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61296 Log: vm.c: always export rb_frame_method_id_and_class Functions declared in include/ruby/backward.h is exported only when the condition `!defined RUBY_EXPORT && !defined RUBY_NO_OLD_COMPATIBILITY` is met (i.e. included by include/ruby/ruby.h). So if it is not the case when ruby is built, this will not be exported. This was not intentional at r60994. [Bug #14192] Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 61295) +++ vm.c (revision 61296) @@ -2049,7 +2049,7 @@ rb_ec_frame_method_id_and_class(const rb https://github.com/ruby/ruby/blob/trunk/vm.c#L2049 return rb_vm_control_frame_id_and_class(ec->cfp, idp, called_idp, klassp); } -int +RUBY_FUNC_EXPORTED int rb_frame_method_id_and_class(ID *idp, VALUE *klassp) { return rb_ec_frame_method_id_and_class(GET_EC(), idp, 0, klassp); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/