Commit cfb321e8 authored by Tatsuhiko Kubo's avatar Tatsuhiko Kubo

Add inline to str_with_class().

parent d23bc85b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment