mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/io.h: missing prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8dc0eb6c4b
commit
fea355647e
3 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Jan 15 09:42:12 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/io.h: missing prototypes.
|
||||||
|
|
||||||
Fri Jan 14 23:25:55 2011 Tanaka Akira <akr@fsij.org>
|
Fri Jan 14 23:25:55 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* vm_method.c: parenthesize macro arguments.
|
* vm_method.c: parenthesize macro arguments.
|
||||||
|
|
|
@ -149,14 +149,20 @@ int rb_io_modestr_oflags(const char *modestr);
|
||||||
int rb_io_oflags_fmode(int oflags);
|
int rb_io_oflags_fmode(int oflags);
|
||||||
void rb_io_check_writable(rb_io_t*);
|
void rb_io_check_writable(rb_io_t*);
|
||||||
void rb_io_check_readable(rb_io_t*);
|
void rb_io_check_readable(rb_io_t*);
|
||||||
|
void rb_io_check_char_readable(rb_io_t *fptr);
|
||||||
|
void rb_io_check_byte_readable(rb_io_t *fptr);
|
||||||
int rb_io_fptr_finalize(rb_io_t*);
|
int rb_io_fptr_finalize(rb_io_t*);
|
||||||
void rb_io_synchronized(rb_io_t*);
|
void rb_io_synchronized(rb_io_t*);
|
||||||
void rb_io_check_initialized(rb_io_t*);
|
void rb_io_check_initialized(rb_io_t*);
|
||||||
void rb_io_check_closed(rb_io_t*);
|
void rb_io_check_closed(rb_io_t*);
|
||||||
|
VALUE rb_io_get_io(VALUE io);
|
||||||
|
VALUE rb_io_get_write_io(VALUE io);
|
||||||
|
VALUE rb_io_set_write_io(VALUE io, VALUE w);
|
||||||
int rb_io_wait_readable(int);
|
int rb_io_wait_readable(int);
|
||||||
int rb_io_wait_writable(int);
|
int rb_io_wait_writable(int);
|
||||||
void rb_io_set_nonblock(rb_io_t *fptr);
|
void rb_io_set_nonblock(rb_io_t *fptr);
|
||||||
int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding **enc2_p, int *fmode_p);
|
int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding **enc2_p, int *fmode_p);
|
||||||
|
ssize_t rb_io_bufwrite(VALUE io, const void *buf, size_t size);
|
||||||
|
|
||||||
/* compatibility for ruby 1.8 and older */
|
/* compatibility for ruby 1.8 and older */
|
||||||
#define rb_io_mode_flags(modestr) rb_io_modestr_fmode(modestr)
|
#define rb_io_mode_flags(modestr) rb_io_modestr_fmode(modestr)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#define RUBY_VERSION "1.9.3"
|
#define RUBY_VERSION "1.9.3"
|
||||||
#define RUBY_RELEASE_DATE "2011-01-14"
|
#define RUBY_RELEASE_DATE "2011-01-15"
|
||||||
#define RUBY_PATCHLEVEL -1
|
#define RUBY_PATCHLEVEL -1
|
||||||
#define RUBY_BRANCH_NAME "trunk"
|
#define RUBY_BRANCH_NAME "trunk"
|
||||||
|
|
||||||
#define RUBY_RELEASE_YEAR 2011
|
#define RUBY_RELEASE_YEAR 2011
|
||||||
#define RUBY_RELEASE_MONTH 1
|
#define RUBY_RELEASE_MONTH 1
|
||||||
#define RUBY_RELEASE_DAY 14
|
#define RUBY_RELEASE_DAY 15
|
||||||
|
|
||||||
#include "ruby/version.h"
|
#include "ruby/version.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue