mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
internal.h: remove dependecy on ruby/io.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
1 parent
cdd77289af
commit
ee85a6e72b
5 files changed
+7
-3
No files matched your search
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/util.h"
|
||||
#include "vm_debug.h"
|
||||
#include "eval_intern.h"
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
#define rb_data_object_alloc rb_data_object_alloc
|
||||
#define rb_data_typed_object_alloc rb_data_typed_object_alloc
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/st.h"
|
||||
#include "ruby/re.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/util.h"
|
||||
#include "ruby/debug.h"
|
||||
#include "internal.h"
|
||||
#include "eval_intern.h"
|
||||
#include "vm_core.h"
|
||||
#include "gc.h"
|
||||
|
||||
+2
-1
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "ruby/io.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
@@ -1315,7 +1314,9 @@ void ruby_set_inplace_mode(const char *);
|
||||
ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
|
||||
void rb_stdio_set_default_encoding(void);
|
||||
VALUE rb_io_flush_raw(VALUE, int);
|
||||
#ifdef RUBY_IO_H
|
||||
size_t rb_io_memsize(const rb_io_t *);
|
||||
#endif
|
||||
int rb_stderr_tty_p(void);
|
||||
|
||||
/* load.c */
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#define BEG(no) (regs->beg[(no)])
|
||||
#define END(no) (regs->end[(no)])
|
||||
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/util.h"
|
||||
#include <fcntl.h>
|
||||
#include <process.h>
|
||||
|
||||
Reference in new issue
Block a user