mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
e6f6c77d1d
commit
d138a11095
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue