* transcode_data.h (rb_transcoder): rename fields:

from_encoding -> src_encoding, to_encoding -> dst_encoding.

* transcode.c: follow the renaming.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr committed 2008-09-04 15:46:18 +00:00
1 parent a50b307900
commit f549f1ae32
3 files changed
+31 -24

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ typedef struct rb_transcoder rb_transcoder;
/* static structure, one per supported encoding pair */
struct rb_transcoder {
const char *from_encoding;
const char *to_encoding;
const char *src_encoding;
const char *dst_encoding;
unsigned int conv_tree_start;
const unsigned char *byte_array;
unsigned int byte_array_length;