зеркало из https://github.com/github/ruby.git
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:
Родитель
cdd77289af
Коммит
ee85a6e72b
1
debug.c
1
debug.c
|
@ -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"
|
||||
|
|
4
gc.c
4
gc.c
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
1
string.c
1
string.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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче