1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move rb_str_escape function declaration

This commit is contained in:
S-H-GAMELINKS 2021-06-27 17:11:24 +09:00 committed by Nobuyoshi Nakada
parent e330bbeeb1
commit b32ae9898f
Notes: git 2021-07-11 18:26:49 +09:00
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,7 @@ VALUE rb_external_str_with_enc(VALUE str, rb_encoding *eenc);
VALUE rb_str_cat_conv_enc_opts(VALUE newstr, long ofs, const char *ptr, long len,
rb_encoding *from, int ecflags, VALUE ecopts);
VALUE rb_enc_str_scrub(rb_encoding *enc, VALUE str, VALUE repl);
VALUE rb_str_escape(VALUE str);
size_t rb_str_memsize(VALUE);
char *rb_str_to_cstr(VALUE str);
const char *ruby_escaped_char(int c);

View file

@ -30,6 +30,7 @@
#include "internal/numeric.h"
#include "internal/object.h"
#include "internal/struct.h"
#include "internal/string.h"
#include "internal/symbol.h"
#include "internal/variable.h"
#include "probes.h"
@ -688,7 +689,6 @@ rb_any_to_s(VALUE obj)
return str;
}
VALUE rb_str_escape(VALUE str);
/*!
* Convenient wrapper of \c Object#inspect.
* Returns a human-readable string representation of \a obj,