1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* internal.h: Include ruby.h and ruby/encoding.h to be

includable without prior inclusion.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-11-15 11:49:06 +00:00
parent 64f9f1ba58
commit 7cd76ab0c5
70 changed files with 188 additions and 118 deletions

View file

@ -1,3 +1,8 @@
Sat Nov 15 20:34:23 2014 Tanaka Akira <akr@fsij.org>
* internal.h: Include ruby.h and ruby/encoding.h to be
includable without prior inclusion.
Sat Nov 15 20:46:44 2014 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_document.rb

View file

@ -11,11 +11,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/util.h"
#include "ruby/st.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "probes.h"
#include "id.h"

View file

@ -9,10 +9,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/thread.h"
#include "ruby/util.h"
#include "internal.h"
#ifdef HAVE_STRINGS_H
#include <strings.h>

View file

@ -23,12 +23,11 @@
* \{
*/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/st.h"
#include "method.h"
#include "constant.h"
#include "vm_core.h"
#include "internal.h"
#include <ctype.h>
int rb_vm_add_root_module(ID id, VALUE module);

100
common.mk
View file

@ -2091,4 +2091,104 @@ vm_trace.$(OBJEXT): {$(VPATH)}thread_native.h
vm_trace.$(OBJEXT): {$(VPATH)}vm_core.h
vm_trace.$(OBJEXT): {$(VPATH)}vm_debug.h
vm_trace.$(OBJEXT): {$(VPATH)}vm_opts.h
array.$(OBJEXT): $(hdrdir)/ruby.h
bignum.$(OBJEXT): $(hdrdir)/ruby.h
bignum.$(OBJEXT): {$(VPATH)}encoding.h
bignum.$(OBJEXT): {$(VPATH)}oniguruma.h
class.$(OBJEXT): $(hdrdir)/ruby.h
class.$(OBJEXT): {$(VPATH)}encoding.h
class.$(OBJEXT): {$(VPATH)}oniguruma.h
compile.$(OBJEXT): $(hdrdir)/ruby.h
compile.$(OBJEXT): {$(VPATH)}encoding.h
compile.$(OBJEXT): {$(VPATH)}oniguruma.h
complex.$(OBJEXT): {$(VPATH)}encoding.h
complex.$(OBJEXT): {$(VPATH)}oniguruma.h
cont.$(OBJEXT): $(hdrdir)/ruby.h
cont.$(OBJEXT): {$(VPATH)}encoding.h
cont.$(OBJEXT): {$(VPATH)}oniguruma.h
debug.$(OBJEXT): $(hdrdir)/ruby.h
dir.$(OBJEXT): $(hdrdir)/ruby.h
encoding.$(OBJEXT): $(hdrdir)/ruby.h
enum.$(OBJEXT): $(hdrdir)/ruby.h
enum.$(OBJEXT): {$(VPATH)}encoding.h
enum.$(OBJEXT): {$(VPATH)}oniguruma.h
enumerator.$(OBJEXT): $(hdrdir)/ruby.h
enumerator.$(OBJEXT): {$(VPATH)}encoding.h
enumerator.$(OBJEXT): {$(VPATH)}oniguruma.h
error.$(OBJEXT): $(hdrdir)/ruby.h
eval.$(OBJEXT): $(hdrdir)/ruby.h
file.$(OBJEXT): $(hdrdir)/ruby.h
gc.$(OBJEXT): $(hdrdir)/ruby.h
golf_prelude.$(OBJEXT): $(hdrdir)/ruby.h
golf_prelude.$(OBJEXT): {$(VPATH)}encoding.h
golf_prelude.$(OBJEXT): {$(VPATH)}oniguruma.h
hash.$(OBJEXT): $(hdrdir)/ruby.h
inits.$(OBJEXT): $(hdrdir)/ruby.h
inits.$(OBJEXT): {$(VPATH)}encoding.h
inits.$(OBJEXT): {$(VPATH)}oniguruma.h
io.$(OBJEXT): $(hdrdir)/ruby.h
iseq.$(OBJEXT): $(hdrdir)/ruby.h
iseq.$(OBJEXT): {$(VPATH)}encoding.h
iseq.$(OBJEXT): {$(VPATH)}oniguruma.h
load.$(OBJEXT): $(hdrdir)/ruby.h
load.$(OBJEXT): {$(VPATH)}encoding.h
load.$(OBJEXT): {$(VPATH)}oniguruma.h
localeinit.$(OBJEXT): $(hdrdir)/ruby.h
marshal.$(OBJEXT): $(hdrdir)/ruby.h
math.$(OBJEXT): $(hdrdir)/ruby.h
math.$(OBJEXT): {$(VPATH)}encoding.h
math.$(OBJEXT): {$(VPATH)}oniguruma.h
miniprelude.$(OBJEXT): $(hdrdir)/ruby.h
miniprelude.$(OBJEXT): {$(VPATH)}encoding.h
miniprelude.$(OBJEXT): {$(VPATH)}oniguruma.h
node.$(OBJEXT): $(hdrdir)/ruby.h
node.$(OBJEXT): {$(VPATH)}encoding.h
node.$(OBJEXT): {$(VPATH)}oniguruma.h
numeric.$(OBJEXT): $(hdrdir)/ruby.h
object.$(OBJEXT): $(hdrdir)/ruby.h
pack.$(OBJEXT): $(hdrdir)/ruby.h
parse.$(OBJEXT): $(hdrdir)/ruby.h
prelude.$(OBJEXT): $(hdrdir)/ruby.h
prelude.$(OBJEXT): {$(VPATH)}encoding.h
prelude.$(OBJEXT): {$(VPATH)}oniguruma.h
proc.$(OBJEXT): $(hdrdir)/ruby.h
proc.$(OBJEXT): {$(VPATH)}encoding.h
proc.$(OBJEXT): {$(VPATH)}oniguruma.h
process.$(OBJEXT): $(hdrdir)/ruby.h
random.$(OBJEXT): $(hdrdir)/ruby.h
random.$(OBJEXT): {$(VPATH)}encoding.h
random.$(OBJEXT): {$(VPATH)}oniguruma.h
range.$(OBJEXT): $(hdrdir)/ruby.h
rational.$(OBJEXT): {$(VPATH)}encoding.h
rational.$(OBJEXT): {$(VPATH)}oniguruma.h
re.$(OBJEXT): $(hdrdir)/ruby.h
ruby.$(OBJEXT): $(hdrdir)/ruby.h
safe.$(OBJEXT): $(hdrdir)/ruby.h
safe.$(OBJEXT): {$(VPATH)}encoding.h
safe.$(OBJEXT): {$(VPATH)}oniguruma.h
signal.$(OBJEXT): $(hdrdir)/ruby.h
signal.$(OBJEXT): {$(VPATH)}encoding.h
signal.$(OBJEXT): {$(VPATH)}oniguruma.h
sprintf.$(OBJEXT): $(hdrdir)/ruby.h
st.$(OBJEXT): $(hdrdir)/ruby.h
st.$(OBJEXT): {$(VPATH)}encoding.h
st.$(OBJEXT): {$(VPATH)}oniguruma.h
string.$(OBJEXT): $(hdrdir)/ruby.h
struct.$(OBJEXT): $(hdrdir)/ruby.h
struct.$(OBJEXT): {$(VPATH)}encoding.h
struct.$(OBJEXT): {$(VPATH)}oniguruma.h
symbol.$(OBJEXT): $(hdrdir)/ruby.h
thread.$(OBJEXT): $(hdrdir)/ruby.h
time.$(OBJEXT): $(hdrdir)/ruby.h
transcode.$(OBJEXT): $(hdrdir)/ruby.h
util.$(OBJEXT): $(hdrdir)/ruby.h
util.$(OBJEXT): {$(VPATH)}encoding.h
util.$(OBJEXT): {$(VPATH)}oniguruma.h
variable.$(OBJEXT): $(hdrdir)/ruby.h
vm.$(OBJEXT): $(hdrdir)/ruby.h
vm_backtrace.$(OBJEXT): $(hdrdir)/ruby.h
vm_dump.$(OBJEXT): $(hdrdir)/ruby.h
vm_dump.$(OBJEXT): {$(VPATH)}encoding.h
vm_dump.$(OBJEXT): {$(VPATH)}oniguruma.h
vm_trace.$(OBJEXT): $(hdrdir)/ruby.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include <math.h>

View file

@ -5,7 +5,6 @@
which is written in ruby.
*/
#include "ruby.h"
#include "internal.h"
#include <math.h>

1
cont.c
View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "vm_core.h"
#include "gc.h"

2
dir.c
View file

@ -11,8 +11,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include <sys/types.h>

View file

@ -9,8 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "regenc.h"
#include <ctype.h>

3
enum.c
View file

@ -9,11 +9,10 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/util.h"
#include "node.h"
#include "id.h"
#include "internal.h"
VALUE rb_f_send(int argc, VALUE *argv, VALUE recv);

View file

@ -12,9 +12,8 @@
************************************************/
#include "ruby/ruby.h"
#include "node.h"
#include "internal.h"
#include "node.h"
/*
* Document-class: Enumerator

View file

@ -9,10 +9,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/st.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/st.h"
#include "vm_core.h"
#include <stdio.h>

3
eval.c
View file

@ -11,12 +11,11 @@
**********************************************************************/
#include "internal.h"
#include "eval_intern.h"
#include "iseq.h"
#include "gc.h"
#include "ruby/vm.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "vm_core.h"
#include "probes_helper.h"

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -67,4 +67,16 @@ str2big.o: $(hdrdir)/ruby/missing.h
str2big.o: $(hdrdir)/ruby/ruby.h
str2big.o: $(hdrdir)/ruby/st.h
str2big.o: $(hdrdir)/ruby/subst.h
big2str.o: $(hdrdir)/ruby/encoding.h
big2str.o: $(hdrdir)/ruby/oniguruma.h
bigzero.o: $(hdrdir)/ruby/encoding.h
bigzero.o: $(hdrdir)/ruby/oniguruma.h
div.o: $(hdrdir)/ruby/encoding.h
div.o: $(hdrdir)/ruby/oniguruma.h
intpack.o: $(hdrdir)/ruby/encoding.h
intpack.o: $(hdrdir)/ruby/oniguruma.h
mul.o: $(hdrdir)/ruby/encoding.h
mul.o: $(hdrdir)/ruby/oniguruma.h
str2big.o: $(hdrdir)/ruby/encoding.h
str2big.o: $(hdrdir)/ruby/oniguruma.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
static VALUE

View file

@ -1,3 +1,8 @@
$(OBJS): $(HDRS) $(ruby_headers)
rat.o: rat.c $(top_srcdir)/internal.h
# AUTOGENERATED DEPENDENCIES START
rat.o: $(hdrdir)/ruby/encoding.h
rat.o: $(hdrdir)/ruby/oniguruma.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
#if defined(HAVE_LIBGMP) && defined(HAVE_GMP_H)

View file

@ -89,4 +89,6 @@ set_len.o: $(hdrdir)/ruby/missing.h
set_len.o: $(hdrdir)/ruby/ruby.h
set_len.o: $(hdrdir)/ruby/st.h
set_len.o: $(hdrdir)/ruby/subst.h
normalize.o: $(hdrdir)/ruby/encoding.h
normalize.o: $(hdrdir)/ruby/oniguruma.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -1,4 +1,3 @@
#include "ruby.h"
#include "internal.h"
#ifdef __APPLE__

View file

@ -15,4 +15,6 @@ coverage.o: $(top_srcdir)/ccan/check_type/check_type.h
coverage.o: $(top_srcdir)/ccan/container_of/container_of.h
coverage.o: $(top_srcdir)/ccan/list/list.h
coverage.o: $(top_srcdir)/ccan/str/str.h
coverage.o: $(hdrdir)/ruby/encoding.h
coverage.o: $(hdrdir)/ruby/oniguruma.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -51,4 +51,9 @@ objspace_dump.o: $(hdrdir)/ruby/missing.h
objspace_dump.o: $(hdrdir)/ruby/ruby.h
objspace_dump.o: $(hdrdir)/ruby/st.h
objspace_dump.o: $(hdrdir)/ruby/subst.h
object_tracing.o: $(top_srcdir)/include/ruby.h
object_tracing.o: $(hdrdir)/ruby/encoding.h
object_tracing.o: $(hdrdir)/ruby/oniguruma.h
objspace.o: $(top_srcdir)/include/ruby.h
objspace_dump.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -13,10 +13,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/debug.h"
#include "objspace.h"
#include "internal.h"
struct traceobj_arg {
int running;

View file

@ -12,13 +12,12 @@
**********************************************************************/
#include <ruby/ruby.h>
#include "internal.h"
#include <ruby/st.h>
#include <ruby/io.h>
#include <ruby/re.h>
#include "node.h"
#include "gc.h"
#include "internal.h"
/*
* call-seq:

View file

@ -12,15 +12,13 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/debug.h"
#include "ruby/encoding.h"
#include "ruby/io.h"
#include "gc.h"
#include "node.h"
#include "vm_core.h"
#include "objspace.h"
#include "internal.h"
static VALUE sym_output, sym_stdout, sym_string, sym_file;

View file

@ -11,4 +11,5 @@ pty.o: $(hdrdir)/ruby/ruby.h
pty.o: $(hdrdir)/ruby/st.h
pty.o: $(hdrdir)/ruby/subst.h
pty.o: $(hdrdir)/ruby/util.h
pty.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -33,10 +33,9 @@
#endif
#include <ctype.h>
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/util.h"
#include "internal.h"
#include <signal.h>
#ifdef HAVE_SYS_STROPTS_H

View file

@ -11,4 +11,5 @@ readline.o: $(hdrdir)/ruby/ruby.h
readline.o: $(hdrdir)/ruby/st.h
readline.o: $(hdrdir)/ruby/subst.h
readline.o: $(hdrdir)/ruby/thread.h
readline.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -33,10 +33,9 @@
#include <editline/readline.h>
#endif
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/thread.h"
#include "internal.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>

View file

@ -68,4 +68,5 @@ ripper.o: $(hdrdir)/ruby/ruby.h
ripper.o: $(hdrdir)/ruby/st.h
ripper.o: $(hdrdir)/ruby/subst.h
ripper.o: $(hdrdir)/ruby/util.h
ripper.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END

View file

@ -247,4 +247,19 @@ unixsocket.o: $(hdrdir)/ruby/st.h
unixsocket.o: $(hdrdir)/ruby/subst.h
unixsocket.o: $(hdrdir)/ruby/thread.h
unixsocket.o: $(hdrdir)/ruby/util.h
ancdata.o: $(top_srcdir)/include/ruby.h
basicsocket.o: $(top_srcdir)/include/ruby.h
constants.o: $(top_srcdir)/include/ruby.h
ifaddr.o: $(top_srcdir)/include/ruby.h
init.o: $(top_srcdir)/include/ruby.h
ipsocket.o: $(top_srcdir)/include/ruby.h
option.o: $(top_srcdir)/include/ruby.h
raddrinfo.o: $(top_srcdir)/include/ruby.h
socket.o: $(top_srcdir)/include/ruby.h
sockssocket.o: $(top_srcdir)/include/ruby.h
tcpserver.o: $(top_srcdir)/include/ruby.h
tcpsocket.o: $(top_srcdir)/include/ruby.h
udpsocket.o: $(top_srcdir)/include/ruby.h
unixserver.o: $(top_srcdir)/include/ruby.h
unixsocket.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END

3
file.c
View file

@ -23,11 +23,10 @@
#include <CoreFoundation/CFString.h>
#endif
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/util.h"
#include "dln.h"
#include "internal.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>

3
gc.c
View file

@ -11,7 +11,7 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/st.h"
#include "ruby/re.h"
#include "ruby/io.h"
@ -20,7 +20,6 @@
#include "ruby/debug.h"
#include "eval_intern.h"
#include "vm_core.h"
#include "internal.h"
#include "gc.h"
#include "constant.h"
#include "ruby_atomic.h"

4
hash.c
View file

@ -11,11 +11,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include "ruby/encoding.h"
#include "internal.h"
#include <errno.h>
#include "probes.h"
#include "id.h"

View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#define CALL(n) {void Init_##n(void); Init_##n();}

View file

@ -12,6 +12,9 @@
#ifndef RUBY_INTERNAL_H
#define RUBY_INTERNAL_H 1
#include "ruby.h"
#include "ruby/encoding.h"
#if defined(__cplusplus)
extern "C" {
#if 0
@ -568,7 +571,6 @@ PRINTF_ARGS(void ruby_debug_printf(const char*, ...), 1, 2);
void Init_ext(void);
/* encoding.c */
#ifdef RUBY_ENCODING_H
enum ruby_preserved_encindex {
ENCINDEX_ASCII,
ENCINDEX_UTF_8,
@ -589,7 +591,7 @@ enum ruby_preserved_encindex {
ENCINDEX_BUILTIN_MAX
};
#endif
#define rb_ascii8bit_encindex() ENCINDEX_ASCII
#define rb_utf8_encindex() ENCINDEX_UTF_8
#define rb_usascii_encindex() ENCINDEX_US_ASCII

3
io.c
View file

@ -11,11 +11,10 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/thread.h"
#include "dln.h"
#include "internal.h"
#include "id.h"
#include <ctype.h>
#include <errno.h>

3
iseq.c
View file

@ -9,9 +9,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/util.h"
#include "internal.h"
#include "ruby/util.h"
#include "eval_intern.h"
/* #define RUBY_MARK_FREE_DEBUG 1 */

3
load.c
View file

@ -2,9 +2,8 @@
* load methods from eval.c
*/
#include "ruby/ruby.h"
#include "ruby/util.h"
#include "internal.h"
#include "ruby/util.h"
#include "dln.h"
#include "eval_intern.h"
#include "probes.h"

View file

@ -9,8 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#ifdef __CYGWIN__
#include <windows.h>

View file

@ -13,12 +13,10 @@
# error too old GCC
#endif
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include "ruby/encoding.h"
#include "internal.h"
#include <math.h>
#ifdef HAVE_FLOAT_H

1
math.c
View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include <float.h>
#include <math.h>

View file

@ -9,10 +9,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "ruby/util.h"
#include "internal.h"
#include "ruby/util.h"
#include "id.h"
#include <ctype.h>
#include <math.h>

View file

@ -11,17 +11,15 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include "ruby/encoding.h"
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <math.h>
#include <float.h>
#include "constant.h"
#include "internal.h"
#include "id.h"
#include "probes.h"

2
pack.c
View file

@ -9,8 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include <sys/types.h>
#include <ctype.h>

View file

@ -11,11 +11,10 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/io.h"
#include "ruby/thread.h"
#include "ruby/util.h"
#include "internal.h"
#include "vm_core.h"
#include <stdio.h>

View file

@ -59,7 +59,6 @@ The original copyright notice follows.
email: matumoto@math.keio.ac.jp
*/
#include "ruby/ruby.h"
#include "internal.h"
#include <limits.h>

View file

@ -9,8 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "id.h"

View file

@ -5,7 +5,6 @@
which is written in ruby.
*/
#include "ruby.h"
#include "internal.h"
#include <math.h>
#include <float.h>

6
re.c
View file

@ -9,11 +9,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/re.h"
#include "ruby/encoding.h"
#include "ruby/util.h"
#include "internal.h"
#include "ruby/re.h"
#include "ruby/util.h"
#include "regint.h"
#include <ctype.h>

2
ruby.c
View file

@ -15,8 +15,6 @@
#include <windows.h>
#include <sys/cygwin.h>
#endif
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "eval_intern.h"
#include "dln.h"

View file

@ -11,14 +11,13 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "vm_core.h"
#include <signal.h>
#include <stdio.h>
#include <errno.h>
#include "ruby_atomic.h"
#include "eval_intern.h"
#include "internal.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif

View file

@ -11,10 +11,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/re.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/re.h"
#include "id.h"
#include <math.h>
#include <stdarg.h>

1
st.c
View file

@ -6,7 +6,6 @@
#include "regint.h"
#include "st.h"
#else
#include "ruby/ruby.h"
#include "internal.h"
#endif

View file

@ -11,10 +11,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/re.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/re.h"
#include "probes.h"
#include "gc.h"
#include <assert.h>

View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
VALUE rb_cStruct;

View file

@ -9,10 +9,8 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/st.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/st.h"
#include "node.h"
#include "symbol.h"
#include "gc.h"

4
time.c
View file

@ -9,12 +9,10 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include <sys/types.h>
#include <time.h>
#include <errno.h>
#include "ruby/encoding.h"
#include "internal.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>

View file

@ -9,8 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "transcode_data.h"
#include <ctype.h>

1
util.c
View file

@ -9,7 +9,6 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include <ctype.h>

View file

@ -11,13 +11,11 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/st.h"
#include "ruby/util.h"
#include "ruby/encoding.h"
#include "node.h"
#include "constant.h"
#include "internal.h"
#include "id.h"
st_table *rb_global_tbl;

4
vm.c
View file

@ -8,11 +8,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "ruby/vm.h"
#include "ruby/st.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "gc.h"
#include "vm_core.h"

View file

@ -9,11 +9,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/debug.h"
#include "internal.h"
#include "vm_core.h"
#include "eval_intern.h"
#include "iseq.h"

View file

@ -9,10 +9,9 @@
**********************************************************************/
#include "ruby/ruby.h"
#include "internal.h"
#include "addr2line.h"
#include "vm_core.h"
#include "internal.h"
#include "iseq.h"
/* see vm_insnhelper.h for the values */

View file

@ -21,11 +21,9 @@
*
*/
#include "ruby/ruby.h"
#include "ruby/debug.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "ruby/debug.h"
#include "vm_core.h"
#include "eval_intern.h"