We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8bc6c4 + 7b64aa1 commit 578e7d4Copy full SHA for 578e7d4
src/main/c/cext/define.c
@@ -50,7 +50,7 @@ void rb_define_protected_method(VALUE module, const char *name, VALUE (*function
50
51
void rb_define_module_function(VALUE module, const char *name, VALUE (*function)(ANYARGS), int argc) {
52
rb_define_method(module, name, function, argc);
53
- RUBY_CEXT_INVOKE_NO_WRAP("cext_module_function", module, rb_intern(name));
+ polyglot_invoke(RUBY_CEXT, "cext_module_function", rb_tr_unwrap(module), rb_tr_id2sym(rb_intern(name)));
54
}
55
56
void rb_define_global_function(const char *name, VALUE (*function)(ANYARGS), int argc) {
0 commit comments