MRuby-Binding: Make code compile with latest mruby master
This commit is contained in:
parent
231e38ae8e
commit
bd63bc9cd2
5 changed files with 2138 additions and 2120 deletions
|
@ -113,7 +113,7 @@ MrbData::MrbData(mrb_state *mrb)
|
|||
exc[ArgumentError] = mrb_class_get(mrb, "ArgumentError");
|
||||
|
||||
for (int i = 0; i < symDataN; ++i)
|
||||
symbols[symData[i].ind] = mrb_intern(mrb, symData[i].str);
|
||||
symbols[symData[i].ind] = mrb_intern_cstr(mrb, symData[i].str);
|
||||
|
||||
mrb_gc_arena_restore(mrb, arena);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue