diff --git a/vm.c b/vm.c index be04f5db01..85888be919 100644 --- a/vm.c +++ b/vm.c @@ -2049,7 +2049,7 @@ rb_ec_frame_method_id_and_class(const rb_execution_context_t *ec, ID *idp, ID *c 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);