diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 11:18:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 11:18:10 +0000 |
commit | 18030d18cf42b4868cc702e58e7170d1897c2083 (patch) | |
tree | 75a71c38151121ad3cd93aad5806698ae9d6513f /internal.h | |
parent | 1549894a0699abdfab1fbba0e468afd3f2f990b3 (diff) | |
download | ruby-18030d18cf42b4868cc702e58e7170d1897c2083.tar.gz |
transcode.c: fill terminator
* transcode.c (str_encode_associate): fill terminator after conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 22600da9e6..bac60fd767 100644 --- a/internal.h +++ b/internal.h @@ -441,6 +441,7 @@ VALUE rb_str_quote_unprintable(VALUE); VALUE rb_id_quote_unprintable(ID); #define QUOTE(str) rb_str_quote_unprintable(str) #define QUOTE_ID(id) rb_id_quote_unprintable(id) +void rb_str_fill_terminator(VALUE str); /* struct.c */ VALUE rb_struct_init_copy(VALUE copy, VALUE s); |