mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
should define String#+ (non inlined); close #469
This commit is contained in:
+4
-1
@@ -379,7 +379,10 @@ mrb_str_plus(mrb_state *mrb, mrb_value a, mrb_value b)
|
||||
static mrb_value
|
||||
mrb_str_plus_m(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
return mrb_nil_value();
|
||||
mrb_value str;
|
||||
|
||||
mrb_get_args(mrb, "S", &str);
|
||||
return mrb_str_plus(mrb, self, str);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user