Ruby
3.1.4p223 (2023-03-30 revision HEAD)
inits.c
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/inits.h"
13
#include "ruby.h"
14
#include "builtin.h"
15
static
void
Init_builtin_prelude(
void
);
16
#include "prelude.rbinc"
17
18
#define CALL(n) {void Init_##n(void); Init_##n();}
19
20
void
21
rb_call_inits(
void
)
22
{
23
CALL(Thread_Mutex);
24
#if USE_TRANSIENT_HEAP
25
CALL(TransientHeap);
26
#endif
27
CALL(vm_postponed_job);
28
CALL(Method);
29
CALL(RandomSeedCore);
30
CALL(encodings);
31
CALL(sym);
32
CALL(var_tables);
33
CALL(Object);
34
CALL(top_self);
35
CALL(Encoding);
36
CALL(Comparable);
37
CALL(Enumerable);
38
CALL(String);
39
CALL(Exception);
40
CALL(eval);
41
CALL(jump);
42
CALL(Numeric);
43
CALL(Bignum);
44
CALL(syserr);
45
CALL(Array);
46
CALL(Hash);
47
CALL(Struct);
48
CALL(
Regexp
);
49
CALL(pack);
50
CALL(transcode);
51
CALL(marshal);
52
CALL(Range);
53
CALL(IO);
54
CALL(IO_Buffer)
55
CALL(Dir);
56
CALL(Time);
57
CALL(Random);
58
CALL(signal);
59
CALL(load);
60
CALL(Proc);
61
CALL(Binding);
62
CALL(Math);
63
CALL(GC);
64
CALL(Enumerator);
65
CALL(Ractor);
66
CALL(VM);
67
CALL(ISeq);
68
CALL(Thread);
69
CALL(Fiber_Scheduler);
70
CALL(process);
71
CALL(Cont);
72
CALL(Rational);
73
CALL(Complex);
74
CALL(MemoryView);
75
CALL(version);
76
CALL(vm_trace);
77
CALL(vm_stack_canary);
78
CALL(ast);
79
CALL(gc_stress);
80
81
// enable builtin loading
82
CALL(builtin);
83
}
84
85
void
86
rb_call_builtin_inits(
void
)
87
{
88
#define BUILTIN(n) CALL(builtin_##n)
89
BUILTIN(gc);
90
BUILTIN(ractor);
91
BUILTIN(numeric);
92
BUILTIN(io);
93
BUILTIN(dir);
94
BUILTIN(ast);
95
BUILTIN(trace_point);
96
BUILTIN(pack);
97
BUILTIN(warning);
98
BUILTIN(array);
99
BUILTIN(kernel);
100
BUILTIN(timev);
101
BUILTIN(yjit);
102
BUILTIN(nilclass);
103
BUILTIN(marshal);
104
Init_builtin_prelude();
105
}
106
#undef CALL
re_pattern_buffer
Definition
onigmo.h:755
Generated by
1.10.0