aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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);