зеркало из https://github.com/github/ruby.git
* 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:
Родитель
64f9f1ba58
Коммит
7cd76ab0c5
|
@ -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
|
||||
|
|
4
array.c
4
array.c
|
@ -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"
|
||||
|
||||
|
|
3
bignum.c
3
bignum.c
|
@ -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>
|
||||
|
|
3
class.c
3
class.c
|
@ -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
100
common.mk
|
@ -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
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
which is written in ruby.
|
||||
*/
|
||||
|
||||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
#include <math.h>
|
||||
|
||||
|
|
1
cont.c
1
cont.c
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
#include "vm_core.h"
|
||||
#include "gc.h"
|
||||
|
|
2
dir.c
2
dir.c
|
@ -11,8 +11,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "internal.h"
|
||||
#include "regenc.h"
|
||||
#include <ctype.h>
|
||||
|
|
3
enum.c
3
enum.c
|
@ -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);
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@
|
|||
|
||||
************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "node.h"
|
||||
#include "internal.h"
|
||||
#include "node.h"
|
||||
|
||||
/*
|
||||
* Document-class: Enumerator
|
||||
|
|
4
error.c
4
error.c
|
@ -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
3
eval.c
|
@ -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"
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
#if defined(HAVE_LIBGMP) && defined(HAVE_GMP_H)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
3
file.c
|
@ -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
3
gc.c
|
@ -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
4
hash.c
|
@ -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"
|
||||
|
|
1
inits.c
1
inits.c
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define CALL(n) {void Init_##n(void); Init_##n();}
|
||||
|
|
|
@ -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
3
io.c
|
@ -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
3
iseq.c
|
@ -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
3
load.c
|
@ -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"
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "internal.h"
|
||||
#ifdef __CYGWIN__
|
||||
#include <windows.h>
|
||||
|
|
|
@ -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
1
math.c
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
4
object.c
4
object.c
|
@ -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
2
pack.c
|
@ -9,8 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "internal.h"
|
||||
#include <sys/types.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
1
random.c
1
random.c
|
@ -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>
|
||||
|
|
2
range.c
2
range.c
|
@ -9,8 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "ruby/encoding.h"
|
||||
#include "internal.h"
|
||||
#include "id.h"
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
which is written in ruby.
|
||||
*/
|
||||
|
||||
#include "ruby.h"
|
||||
#include "internal.h"
|
||||
#include <math.h>
|
||||
#include <float.h>
|
||||
|
|
6
re.c
6
re.c
|
@ -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
2
ruby.c
|
@ -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"
|
||||
|
|
3
signal.c
3
signal.c
|
@ -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
|
||||
|
|
|
@ -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
1
st.c
|
@ -6,7 +6,6 @@
|
|||
#include "regint.h"
|
||||
#include "st.h"
|
||||
#else
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
#endif
|
||||
|
||||
|
|
4
string.c
4
string.c
|
@ -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>
|
||||
|
|
1
struct.c
1
struct.c
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
VALUE rb_cStruct;
|
||||
|
|
4
symbol.c
4
symbol.c
|
@ -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
4
time.c
|
@ -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>
|
||||
|
|
|
@ -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
1
util.c
|
@ -9,7 +9,6 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/ruby.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -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
4
vm.c
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче