summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-11 00:01:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-11 00:01:12 +0000
commitd138a110955e42b05acc2adb30881a996b5b6f18 (patch)
tree4a00a85fa146ef1692f778e912ef3e97f8126f29
parente6f6c77d1dc368e240dcb6b827e9e868efb6c06f (diff)
io.h: remove old macros
* include/ruby/io.h (RB_IO_BUFFER_INIT, RB_IO_FPTR_NEW): remove old macros only for internal use and obsolete since 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--include/ruby/io.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 029522bedc..a15795252b 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -119,18 +119,10 @@ typedef struct rb_io_t {
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)
-#define RB_IO_BUFFER_INIT(buf) do {\
- [<"internal macro RB_IO_BUFFER_INIT() is used">];\
-} while (0)
-
#define MakeOpenFile(obj, fp) do {\
(fp) = rb_io_make_open_file(obj);\
} while (0)
-#define RB_IO_FPTR_NEW(fp) do {\
- [<"internal macro RB_IO_FPTR_NEW() is used">];\
-} while (0)
-
rb_io_t *rb_io_make_open_file(VALUE obj);
FILE *rb_io_stdio_file(rb_io_t *fptr);