mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Make intern_gen() inline. This is enough tiny to be inlined.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ typedef unsigned int stack_type;
|
||||
#define sym(x) ((mrb_sym)(intptr_t)(x))
|
||||
#define nsym(x) ((node*)(intptr_t)(x))
|
||||
|
||||
static mrb_sym
|
||||
static inline mrb_sym
|
||||
intern_gen(parser_state *p, const char *s)
|
||||
{
|
||||
return mrb_intern(p->mrb, s);
|
||||
|
||||
Reference in New Issue
Block a user