diff options
| author | Tomoyuki Sahara <[email protected]> | 2014-04-17 16:29:27 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2014-04-17 16:29:27 +0900 |
| commit | 1c4f46f3244bf4b4b3e8acf55348e6104a2ace4f (patch) | |
| tree | 788c9ed8c88e4242ad9cd0bcf116e8e17f289022 /include | |
| parent | a11780f4f1197aa2082804f80630a775dc26153d (diff) | |
| download | mruby-1c4f46f3244bf4b4b3e8acf55348e6104a2ace4f.tar.gz mruby-1c4f46f3244bf4b4b3e8acf55348e6104a2ace4f.zip | |
remove standard header files from io.h.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/ext/io.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/mruby/ext/io.h b/include/mruby/ext/io.h index 25ca37d49..8cf2e90b0 100644 --- a/include/mruby/ext/io.h +++ b/include/mruby/ext/io.h @@ -9,22 +9,6 @@ extern "C" { #endif -#include <errno.h> - -#include <fcntl.h> - -#include <sys/types.h> -#include <sys/stat.h> -#if defined(_WIN32) || defined(_WIN64) - #include <winsock.h> -#else - #include <unistd.h> - #include <sys/wait.h> -#endif -#include <stdio.h> -#include <string.h> -#include <limits.h> - struct mrb_io { int fd; /* file descriptor */ int fd2; /* file descriptor */ @@ -43,9 +27,6 @@ struct mrb_io { #define E_IO_ERROR (mrb_class_get(mrb, "IOError")) #define E_EOF_ERROR (mrb_class_get(mrb, "EOFError")) -mrb_value mrb_open_file(mrb_state *mrb, int argc, mrb_value *argv, mrb_value io); -void fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int noraise); -mrb_value mrb_file_exist(mrb_state *mrb, mrb_value fname); mrb_value mrb_io_fileno(mrb_state *mrb, mrb_value io); #if defined(__cplusplus) |
