mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c8dbd99790
commit
99a26ac164
3 changed files with 75 additions and 69 deletions
|
@ -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;\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue