* include/ruby/encoding.h (rb_str_encode): renamed from

rb_str_transcode.  [ruby-dev:36593]
  (rb_econv_has_convpath_p): renamed from rb_transcode_convertible.

* transcode.c: follow the renaming.

* io.c: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-09-26 10:35:00 +00:00
parent 577e64a874
commit a3bebd5564
4 changed files with 17 additions and 7 deletions

View file

@ -208,8 +208,8 @@ typedef enum {
typedef struct rb_econv_t rb_econv_t;
VALUE rb_str_transcode(VALUE str, VALUE to, int ecflags, VALUE ecopts);
int rb_transcode_convertible(const char* from_encoding, const char* to_encoding);
VALUE rb_str_encode(VALUE str, VALUE to, int ecflags, VALUE ecopts);
int rb_econv_has_convpath_p(const char* from_encoding, const char* to_encoding);
int rb_econv_prepare_opts(VALUE opthash, VALUE *ecopts);