mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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:
parent
cdd77289af
commit
ee85a6e72b
5 changed files with 7 additions and 3 deletions
1
debug.c
1
debug.c
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
|
#include "ruby/io.h"
|
||||||
#include "ruby/util.h"
|
#include "ruby/util.h"
|
||||||
#include "vm_debug.h"
|
#include "vm_debug.h"
|
||||||
#include "eval_intern.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_object_alloc rb_data_object_alloc
|
||||||
#define rb_data_typed_object_alloc rb_data_typed_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/st.h"
|
||||||
#include "ruby/re.h"
|
#include "ruby/re.h"
|
||||||
#include "ruby/io.h"
|
|
||||||
#include "ruby/thread.h"
|
#include "ruby/thread.h"
|
||||||
#include "ruby/util.h"
|
#include "ruby/util.h"
|
||||||
#include "ruby/debug.h"
|
#include "ruby/debug.h"
|
||||||
|
#include "internal.h"
|
||||||
#include "eval_intern.h"
|
#include "eval_intern.h"
|
||||||
#include "vm_core.h"
|
#include "vm_core.h"
|
||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
#include "ruby.h"
|
#include "ruby.h"
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
#include "ruby/io.h"
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
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);
|
ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
|
||||||
void rb_stdio_set_default_encoding(void);
|
void rb_stdio_set_default_encoding(void);
|
||||||
VALUE rb_io_flush_raw(VALUE, int);
|
VALUE rb_io_flush_raw(VALUE, int);
|
||||||
|
#ifdef RUBY_IO_H
|
||||||
size_t rb_io_memsize(const rb_io_t *);
|
size_t rb_io_memsize(const rb_io_t *);
|
||||||
|
#endif
|
||||||
int rb_stderr_tty_p(void);
|
int rb_stderr_tty_p(void);
|
||||||
|
|
||||||
/* load.c */
|
/* load.c */
|
||||||
|
|
1
string.c
1
string.c
|
@ -24,6 +24,7 @@
|
||||||
#define BEG(no) (regs->beg[(no)])
|
#define BEG(no) (regs->beg[(no)])
|
||||||
#define END(no) (regs->end[(no)])
|
#define END(no) (regs->end[(no)])
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
|
#include "ruby/io.h"
|
||||||
#include "ruby/util.h"
|
#include "ruby/util.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue