1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/optional/capi/ext/module_under_autoload_spec.c
2020-02-28 19:07:17 +01:00

15 lines
317 B
C

#include "ruby.h"
#ifdef __cplusplus
extern "C" {
#endif
void Init_module_under_autoload_spec(void) {
VALUE specs = rb_const_get(rb_cObject, rb_intern("CApiModuleSpecs"));
rb_define_module_under(specs, "ModuleUnderAutoload");
rb_define_module_under(specs, "RubyUnderAutoload");
}
#ifdef __cplusplus
}
#endif