diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-25 07:35:27 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-25 07:35:27 +0000 |
| commit | 2c2e6ee432bcbdb2e28005021ea2eb42c871c440 (patch) | |
| tree | 76efd4714a4e19398186edd80c46763bce7a4a0d /include/ruby/intern.h | |
| parent | c730ae2525228ad54447508980b2f187bc7a3a9b (diff) | |
| download | ruby-2c2e6ee432bcbdb2e28005021ea2eb42c871c440.tar.gz ruby-2c2e6ee432bcbdb2e28005021ea2eb42c871c440.tar.xz ruby-2c2e6ee432bcbdb2e28005021ea2eb42c871c440.zip | |
* include/ruby/intern.h (rb_str_buf_cat_ascii): declared.
* string.c (rb_str_buf_cat_ascii): defined.
* re.c (rb_reg_s_union): use rb_str_buf_cat_ascii to support ASCII
incompatible encoding.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
| -rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 1f531a71c..e552c1f0e 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -504,6 +504,7 @@ void rb_str_shared_replace(VALUE, VALUE); VALUE rb_str_buf_append(VALUE, VALUE); VALUE rb_str_buf_cat(VALUE, const char*, long); VALUE rb_str_buf_cat2(VALUE, const char*); +VALUE rb_str_buf_cat_ascii(VALUE, const char*); VALUE rb_obj_as_string(VALUE); VALUE rb_check_string_type(VALUE); VALUE rb_str_dup(VALUE); |
