struct RClass* mrb_define_module(mrb_state *mrb, const char *name) { return mrb_define_module_id(mrb, mrb_intern(mrb, name)); }
/* * Class: org_jamruby_mruby_RClass * Method: n_defineModuleId * Signature: (JJ)J */ JNIEXPORT jlong JNICALL Java_org_jamruby_mruby_RClass_n_1defineModuleId (JNIEnv *env, jclass, jlong mrb, jlong mid) { RClass * const c = mrb_define_module_id(to_ptr<mrb_state>(mrb), static_cast<mrb_sym>(mid)); return to_jlong(c); }