diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-06 12:56:18 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-06 20:59:19 +0900 |
commit | b5146e375aca25a15ec46978711cde28e5f761d6 (patch) | |
tree | bd85c41b2a077e95476ec35a93d5923706be5559 /internal.h | |
parent | 43b52ac0a52807c415e9d24d25954f5055567c5e (diff) |
leafify opt_plus
Inspired by 346aa557b31fe96760e505d30da26eb7a846bac9
Closes: https://github.com/ruby/ruby/pull/2321
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index d391597d54..bd7162e76c 100644 --- a/internal.h +++ b/internal.h @@ -2124,6 +2124,7 @@ char *rb_str_to_cstr(VALUE str); VALUE rb_str_eql(VALUE str1, VALUE str2); VALUE rb_obj_as_string_result(VALUE str, VALUE obj); const char *ruby_escaped_char(int c); +VALUE rb_str_opt_plus(VALUE, VALUE); /* expect tail call optimization */ static inline VALUE |