diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-25 01:16:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-25 01:16:58 +0000 |
commit | 96110732f155a53d0e7e37a7975746d76ac10ba7 (patch) | |
tree | 557c4ec296e01d099ce8d234d8aa2aaa9eae7131 /rubyio.h | |
parent | f42150744cc0d65ee3d5b2f0064d959de6038802 (diff) |
* rubyio.h (HAVE_RB_IO_T): macro to tell if rb_io_t is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r-- | rubyio.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ typedef struct rb_io_t { int rbuf_capa; } rb_io_t; +#define HAVE_RB_IO_T 1 + #define FMODE_READABLE 1 #define FMODE_WRITABLE 2 #define FMODE_READWRITE 3 |