summaryrefslogtreecommitdiff
path: root/internal/string.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-09-23 16:40:59 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-09-23 16:40:59 +0900
commita78c733cc32cc3da3796cbf65da21cdd40c63230 (patch)
treef76c3eeafe0dc6adb9be1e21da8c40bf617381bb /internal/string.h
parent6e46bf1e54e7fe83dc80e49394d980b71321b6f0 (diff)
downloadruby-a78c733cc32cc3da3796cbf65da21cdd40c63230.tar.gz
Revert "Revert "error.c: Let Exception#inspect inspect its message""
This reverts commit b9f030954a8a1572032f3548b39c5b8ac35792ce. [Bug #18170]
Diffstat (limited to 'internal/string.h')
-rw-r--r--internal/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/string.h b/internal/string.h
index 46862d77f5..43b716f9b2 100644
--- a/internal/string.h
+++ b/internal/string.h
@@ -44,6 +44,7 @@ const char *ruby_escaped_char(int c);
void rb_str_make_independent(VALUE str);
int rb_enc_str_coderange_scan(VALUE str, rb_encoding *enc);
int rb_ascii8bit_appendable_encoding_index(rb_encoding *enc, unsigned int code);
+VALUE rb_str_include(VALUE str, VALUE arg);
static inline bool STR_EMBED_P(VALUE str);
static inline bool STR_SHARED_P(VALUE str);