* include/ruby/encoding.h (rb_econv_elem_t): fields removed: from and
commitbde5a90c4b4def84d05a63b77cd649e0ec11c008
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Sat, 16 Aug 2008 06:25:38 +0000 (16 06:25 +0000)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Sat, 16 Aug 2008 06:25:38 +0000 (16 06:25 +0000)
treea9a36e7ad59ec87957b15802d107d3fd844ee3fa
parent84378f16d537a41577c7e30f954b587eeff252f4
* include/ruby/encoding.h (rb_econv_elem_t): fields removed: from and
  to.
  (rb_econv_t): new fields: source_encoding_name and
  destination_encoding_name.

* transcode.c (rb_econv_open_by_transcoder_entries): initialize the
  new fields.
  (rb_econv_open): set up the new fields.
  (econv_inspect): use the new fields.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog
include/ruby/encoding.h
transcode.c