mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6448 from dearblue/presym.1
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#define MRUBY_IO_H
|
||||
|
||||
#include <mruby.h>
|
||||
#include <mruby/presym.h>
|
||||
|
||||
#ifdef MRB_NO_STDIO
|
||||
# error IO and File conflicts 'MRB_NO_STDIO' in your build configuration
|
||||
@@ -66,8 +65,8 @@ struct mrb_io {
|
||||
#define MRB_O_DSYNC 0x00008000
|
||||
#define MRB_O_RSYNC 0x00010000
|
||||
|
||||
#define E_IO_ERROR mrb_exc_get_id(mrb, MRB_SYM(IOError))
|
||||
#define E_EOF_ERROR mrb_exc_get_id(mrb, MRB_SYM(EOFError))
|
||||
#define E_IO_ERROR mrb_exc_get_id(mrb, MRB_ERROR_SYM(IOError))
|
||||
#define E_EOF_ERROR mrb_exc_get_id(mrb, MRB_ERROR_SYM(EOFError))
|
||||
|
||||
int mrb_io_fileno(mrb_state *mrb, mrb_value io);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user