summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-10 12:26:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-10 12:26:01 +0000
commit436a136b4e2b983fb4875ccca466278461e0d7e3 (patch)
treebfe135615628c245b565777f607f948b5b46b8d2 /transcode_data.h
parent30e90a335d15a0b7766ea0f0c981a523d5ba0be8 (diff)
* transcode_data.h (rb_transcoding): new field: flags.
* transcode.c (load_transcoder): extracted from transcode_dispatch_cb. (rb_transcoding_result_t): renamed from transcode_result_t. (rb_transcoding_open): new function. (rb_transcoding_convert): ditto. (rb_transcoding_close): ditto. (transcode_loop): use rb_transcoding_open, rb_transcoding_convert and rb_transcoding_close. (str_transcode): don't need rb_transcoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18474 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 42c3b2dc89..f7294e4356 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -61,6 +61,8 @@ typedef struct byte_lookup {
typedef struct rb_transcoding {
const struct rb_transcoder *transcoder;
+ int flags;
+
int resume_position;
const BYTE_LOOKUP *next_table;
VALUE next_info;