aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-15 09:33:59 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-15 09:33:59 +0000
commit7f0c5beb6f53cc057c03c74e15468282b1e52cd5 (patch)
tree0cb20d42fb041bafac5331dc9528692a8f3b739e /include/ruby/encoding.h
parent131e194cec5a36ac18d6c9abcae6aad6ccd5fd1d (diff)
downloadruby-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.h1
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;