1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

avoid name mangling

Otherwise the dynamic linker cannot find this function.
See also https://ci.appveyor.com/project/ruby/ruby/builds/27224231/job/4pg6lxlsnsjotu2l
This commit is contained in:
卜部昌平 2019-09-06 16:50:57 +09:00
parent 2aa4fb57d1
commit 1851dc269c

View file

@ -335,7 +335,7 @@ namespace test_rb_ivar_foreach {
}
}
void
extern "C" void
Init_cxxanyargs(void)
{
VALUE b = rb_define_module("Bug");