Ruby
2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)
inits.c
Go to the documentation of this file.
1
/**********************************************************************
2
3
inits.c -
4
5
$Author$
6
created at: Tue Dec 28 16:01:58 JST 1993
7
8
Copyright (C) 1993-2007 Yukihiro Matsumoto
9
10
**********************************************************************/
11
12
#include "
internal.h
"
13
#include "
builtin.h
"
14
#include "prelude.rbinc"
15
16
#define CALL(n) {void Init_##n(void); Init_##n();}
17
18
void
19
rb_call_inits
(
void
)
20
{
21
#if USE_TRANSIENT_HEAP
22
CALL
(TransientHeap);
23
#endif
24
CALL
(vm_postponed_job);
25
CALL
(Method);
26
CALL
(RandomSeedCore);
27
CALL
(encodings);
28
CALL
(
sym
);
29
CALL
(var_tables);
30
CALL
(Object);
31
CALL
(top_self);
32
CALL
(Encoding);
33
CALL
(Comparable);
34
CALL
(Enumerable);
35
CALL
(String);
36
CALL
(Exception);
37
CALL
(eval);
38
CALL
(safe);
39
CALL
(jump);
40
CALL
(Numeric);
41
CALL
(Bignum);
42
CALL
(syserr);
43
CALL
(Array);
44
CALL
(Hash);
45
CALL
(Struct);
46
CALL
(
Regexp
);
47
CALL
(transcode);
48
CALL
(marshal);
49
CALL
(Range);
50
CALL
(IO);
51
CALL
(Dir);
52
CALL
(Time);
53
CALL
(Random);
54
CALL
(
signal
);
55
CALL
(load);
56
CALL
(Proc);
57
CALL
(Binding);
58
CALL
(Math);
59
CALL
(Enumerator);
60
CALL
(VM);
61
CALL
(ISeq);
62
CALL
(Thread);
63
CALL
(process);
64
CALL
(Cont);
65
CALL
(Rational);
66
CALL
(Complex);
67
CALL
(version);
68
CALL
(vm_stack_canary);
69
CALL
(gc_stress);
70
71
// enable builtin loading
72
CALL
(builtin);
73
74
CALL
(GC);
75
CALL
(IO_nonblock);
76
CALL
(ast);
77
CALL
(vm_trace);
78
CALL
(pack);
79
CALL
(warning);
80
load_prelude();
81
}
82
#undef CALL
Regexp
typedefRUBY_SYMBOL_EXPORT_BEGIN struct re_pattern_buffer Regexp
Definition:
re.h:29
signal
_sig_func_ptr signal(int, _sig_func_ptr)
sym
#define sym(x)
Definition:
date_core.c:3716
CALL
#define CALL(n)
Definition:
inits.c:16
internal.h
rb_call_inits
void rb_call_inits(void)
Definition:
inits.c:19
builtin.h
Generated by
1.8.17