summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 09:42:49 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 09:42:49 +0000
commit6d87cec02ce763dd1c26b3ba026056c037d67704 (patch)
tree7c8a886b930f9a4f29aabeb330a388e19f1b2861 /transcode_data.h
parentd04cc54add30205e99848f9a44e08fd35efc133f (diff)
* transcode_data.h (rb_trans_elem_t): new field: from and to.
* transcode.c (trans_open_i): just record from and to. (rb_trans_open): load transcodings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transcode_data.h b/transcode_data.h
index 4a0199df0f..6b3ded4955 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -108,6 +108,8 @@ typedef enum {
} rb_trans_result_t;
typedef struct {
+ const char *from;
+ const char *to;
rb_transcoding *tc;
unsigned char *out_buf_start;
unsigned char *out_data_start;