diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 09:33:59 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 09:33:59 +0000 |
commit | 7f0c5beb6f53cc057c03c74e15468282b1e52cd5 (patch) | |
tree | 0cb20d42fb041bafac5331dc9528692a8f3b739e /include/ruby/encoding.h | |
parent | 131e194cec5a36ac18d6c9abcae6aad6ccd5fd1d (diff) | |
download | ruby-7f0c5beb6f53cc057c03c74e15468282b1e52cd5.tar.gz |
* include/ruby/encoding.h (rb_econv_t): add error_tc in last_error.
* transcode.c (rb_econv_convert): fill error_tc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
-rw-r--r-- | include/ruby/encoding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 675bd5d90d..e4259845e8 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -227,6 +227,7 @@ typedef struct { /* last error */ struct { rb_econv_result_t result; + struct rb_transcoding *error_tc; const char *source_encoding; const char *destination_encoding; const unsigned char *error_bytes_start; |