summaryrefslogtreecommitdiff
path: root/include/ruby/io.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-26 15:06:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-26 15:06:28 +0000
commit99a26ac1642cbe3f27f939cc53c0bef5a0ac15a1 (patch)
treed772b631293437769f7fd0157fc653f69bb4063e /include/ruby/io.h
parentc8dbd99790eb090d9f699fd40a75eb7a3a22f96d (diff)
downloadruby-99a26ac1642cbe3f27f939cc53c0bef5a0ac15a1.tar.gz
* include/ruby/io.h (rb_io_t): rename crbuf to cbuf.
* io.c: follow the renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 6d71edaec4..9ef0c5a7d1 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -62,10 +62,10 @@ typedef struct rb_io_t {
} encs;
rb_econv_t *readconv;
- char *crbuf; /* crbuf_off + crbuf_len <= crbuf_capa */
- int crbuf_off;
- int crbuf_len;
- int crbuf_capa;
+ char *cbuf; /* cbuf_off + cbuf_len <= cbuf_capa */
+ int cbuf_off;
+ int cbuf_len;
+ int cbuf_capa;
rb_econv_t *writeconv;
VALUE writeconv_stateless;
@@ -119,10 +119,10 @@ typedef struct rb_io_t {
fp->rbuf_len = 0;\
fp->rbuf_capa = 0;\
fp->readconv = NULL;\
- fp->crbuf = NULL;\
- fp->crbuf_off = 0;\
- fp->crbuf_len = 0;\
- fp->crbuf_capa = 0;\
+ fp->cbuf = NULL;\
+ fp->cbuf_off = 0;\
+ fp->cbuf_len = 0;\
+ fp->cbuf_capa = 0;\
fp->writeconv = NULL;\
fp->writeconv_stateless = Qnil;\
fp->writeconv_initialized = 0;\