mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
move IS_EVSTR macro that should be private to src/string.c
This commit is contained in:
@@ -2308,6 +2308,8 @@ mrb_str_upcase(mrb_state *mrb, mrb_value self)
|
||||
return str;
|
||||
}
|
||||
|
||||
#define IS_EVSTR(p,e) ((p) < (e) && (*(p) == '$' || *(p) == '@' || *(p) == '{'))
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* str.dump -> new_str
|
||||
|
||||
Reference in New Issue
Block a user