mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove RuntimeError from mrb_state
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ str_mod_check(mrb_state *mrb, mrb_value str, char *p, mrb_int len)
|
||||
struct RString *s = mrb_str_ptr(str);
|
||||
|
||||
if (s->ptr != p || s->len != len) {
|
||||
mrb_raise(mrb, mrb->eRuntimeError_class, "string modified");
|
||||
mrb_raise(mrb, E_RUNTIME_ERROR, "string modified");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user