mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add inline to str_with_class().
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ str_new(mrb_state *mrb, const char *p, size_t len)
|
||||
return s;
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
str_with_class(mrb_state *mrb, struct RString *s, mrb_value obj)
|
||||
{
|
||||
s->c = mrb_str_ptr(obj)->c;
|
||||
|
||||
Reference in New Issue
Block a user