mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove RB_GC_GUARD(x) macro. See also mruby/mruby#948.
This commit is contained in:
+1
-2
@@ -1511,9 +1511,8 @@ mrb_value
|
||||
mrb_str_intern(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
mrb_sym id;
|
||||
mrb_value str = RB_GC_GUARD(self);
|
||||
|
||||
id = mrb_intern_str(mrb, str);
|
||||
id = mrb_intern_str(mrb, self);
|
||||
return mrb_symbol_value(id);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user