зеркало из https://github.com/github/ruby.git
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:
Родитель
2aa4fb57d1
Коммит
1851dc269c
|
@ -335,7 +335,7 @@ namespace test_rb_ivar_foreach {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
extern "C" void
|
||||||
Init_cxxanyargs(void)
|
Init_cxxanyargs(void)
|
||||||
{
|
{
|
||||||
VALUE b = rb_define_module("Bug");
|
VALUE b = rb_define_module("Bug");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче