mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Expose the rb_interned_str_* family of functions
Fixes [Feature #13381]
This commit is contained in:
parent
68ffc8db08
commit
ef19fb111a
Notes:
git
2020-11-17 09:39:50 +09:00
3 changed files with 35 additions and 0 deletions
|
@ -127,6 +127,8 @@ void rb_enc_copy(VALUE dst, VALUE src);
|
|||
VALUE rb_enc_str_new(const char*, long, rb_encoding*);
|
||||
VALUE rb_enc_str_new_cstr(const char*, rb_encoding*);
|
||||
VALUE rb_enc_str_new_static(const char*, long, rb_encoding*);
|
||||
VALUE rb_enc_interned_str(const char *, long, rb_encoding *);
|
||||
VALUE rb_enc_interned_str_cstr(const char *, rb_encoding *);
|
||||
VALUE rb_enc_reg_new(const char*, long, rb_encoding*, int);
|
||||
PRINTF_ARGS(VALUE rb_enc_sprintf(rb_encoding *, const char*, ...), 2, 3);
|
||||
VALUE rb_enc_vsprintf(rb_encoding *, const char*, va_list);
|
||||
|
|
|
@ -74,6 +74,9 @@ VALUE rb_utf8_str_new_cstr(const char*);
|
|||
VALUE rb_str_new_static(const char *ptr, long len);
|
||||
VALUE rb_usascii_str_new_static(const char *ptr, long len);
|
||||
VALUE rb_utf8_str_new_static(const char *ptr, long len);
|
||||
VALUE rb_str_to_interned_str(VALUE);
|
||||
VALUE rb_interned_str(const char *, long);
|
||||
VALUE rb_interned_str_cstr(const char *);
|
||||
void rb_str_free(VALUE);
|
||||
void rb_str_shared_replace(VALUE, VALUE);
|
||||
VALUE rb_str_buf_append(VALUE, VALUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue