diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/internal.h b/internal.h index 1195549806..1a9be71c31 100644 --- a/internal.h +++ b/internal.h @@ -906,9 +906,6 @@ size_t rb_strftime(char *s, size_t maxsize, const char *format, rb_encoding *enc void Init_frozen_strings(void); VALUE rb_fstring(VALUE); VALUE rb_fstring_new(const char *ptr, long len); -#ifdef RUBY_ENCODING_H -VALUE rb_setup_fake_str(struct RString *fake_str, const char *name, long len, rb_encoding *enc); -#endif int rb_str_buf_cat_escaped_char(VALUE result, unsigned int c, int unicode_p); int rb_str_symname_p(VALUE); VALUE rb_str_quote_unprintable(VALUE); @@ -1062,6 +1059,12 @@ VALUE rb_gcd_normal(VALUE self, VALUE other); VALUE rb_gcd_gmp(VALUE x, VALUE y); #endif +/* string.c */ +#ifdef RUBY_ENCODING_H +/* internal use */ +VALUE rb_setup_fake_str(struct RString *fake_str, const char *name, long len, rb_encoding *enc); +#endif + /* util.c */ extern const signed char ruby_digit36_to_number_table[]; |