diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 14:28:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-14 14:28:10 +0000 |
commit | c82aee31b41f0772dd0491c6bfa5cb90b47d0d5a (patch) | |
tree | 534a3869838473b1443fcfa11c036773d0962d93 /ChangeLog | |
parent | 87779b507e5b845e81e16dc597a989bc6f2183be (diff) | |
download | ruby-c82aee31b41f0772dd0491c6bfa5cb90b47d0d5a.tar.gz |
* include/ruby/encoding.h (rb_econv_result_t): moved from
transcode_data.h.
(rb_econv_elem_t): ditto.
(rb_econv_t): ditto. source_encoding and destination_encoding field
is added.
(rb_econv_open): declared.
(rb_econv_convert): ditto.
(rb_econv_close): ditto.
* transcode.c (rb_econv_open_by_transcoder_entries): initialize
source_encoding and destination_encoding field as NULL.
(rb_econv_open): make it external linkage.
(rb_econv_close): ditto.
(rb_econv_convert): ditto. renamed from rb_econv_conv.
(make_encoding): new function.
(econv_init): use make_encoding and store rb_encoding* in
rb_econv_t.
(econv_source_encoding): new method
Encoding::Converter#source_encoding.
(econv_destination_encoding): new method
Encoding::Converter#destination_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -1,3 +1,27 @@ +Thu Aug 14 23:22:24 2008 Tanaka Akira <akr@fsij.org> + + * include/ruby/encoding.h (rb_econv_result_t): moved from + transcode_data.h. + (rb_econv_elem_t): ditto. + (rb_econv_t): ditto. source_encoding and destination_encoding field + is added. + (rb_econv_open): declared. + (rb_econv_convert): ditto. + (rb_econv_close): ditto. + + * transcode.c (rb_econv_open_by_transcoder_entries): initialize + source_encoding and destination_encoding field as NULL. + (rb_econv_open): make it external linkage. + (rb_econv_close): ditto. + (rb_econv_convert): ditto. renamed from rb_econv_conv. + (make_encoding): new function. + (econv_init): use make_encoding and store rb_encoding* in + rb_econv_t. + (econv_source_encoding): new method + Encoding::Converter#source_encoding. + (econv_destination_encoding): new method + Encoding::Converter#destination_encoding. + Thu Aug 14 22:44:32 2008 Tanaka Akira <akr@fsij.org> * transcode_data.h (rb_econv_result_t): change enumeration |