Move -test-/fatal/rb_fatal to -test-/fatal

This commit is contained in:
Nobuyoshi Nakada 2024-03-24 01:09:29 +09:00
parent 5a77397489
commit 678cb80033
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
4 changed files with 14 additions and 4 deletions

View file

@ -13,8 +13,7 @@ ruby_fatal(VALUE obj, VALUE msg)
}
void
Init_rb_fatal(void)
Init_rb_fatal(VALUE mBug)
{
VALUE mBug = rb_define_module("Bug");
rb_define_singleton_method(mBug, "rb_fatal", ruby_fatal, 1);
}