/src/mruby/build/host/mrbgems/mruby-method/gem_init.c
Line | Count | Source |
1 | | /* |
2 | | * This file is loading the irep |
3 | | * Ruby GEM code. |
4 | | * |
5 | | * This file was generated by mruby/lib/mruby/gem.rb. |
6 | | * |
7 | | * IMPORTANT: |
8 | | * This file was generated! |
9 | | * All manual changes will get lost. |
10 | | */ |
11 | | #include <stdlib.h> |
12 | | #include <mruby.h> |
13 | | #include <mruby/irep.h> |
14 | | #include <mruby/debug.h> |
15 | | #include <mruby/proc.h> |
16 | | #include <mruby/presym.h> |
17 | | |
18 | | #define mrb_BRACED(...) {__VA_ARGS__} |
19 | | #define mrb_DEFINE_SYMS_VAR(name, len, syms, qualifier) \ |
20 | | static qualifier mrb_sym name[len] = mrb_BRACED syms |
21 | | |
22 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_5, 1, (MRB_SYM(call), ), const); |
23 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_5[35] = { |
24 | | 0x39,0x00,0x10,0x03,0x01,0x04,0x03,0x21,0x05,0x02,0x00,0x11,0x06,0x01,0x07,0x01,0x54,0x06,0x5e,0x07, |
25 | | 0x00,0x01,0x08,0x02,0x60,0x07,0x01,0x08,0x04,0x34,0x05,0x00,0xff,0x3d,0x05,}; |
26 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_5, 4, (MRB_SYM(args), MRB_SYM(opts), MRB_SYM(b), ), const); |
27 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_5 = { |
28 | | 5,9,0, |
29 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_5, |
30 | | NULL,gem_mrblib_mruby_method_proc_syms_5,NULL, |
31 | | gem_mrblib_mruby_method_proc_lv_5, |
32 | | NULL, /* debug_info */ |
33 | | 35,0,1,0,0 |
34 | | }; |
35 | | static const mrb_irep *gem_mrblib_mruby_method_proc_reps_2[1] = { |
36 | | &gem_mrblib_mruby_method_proc_irep_5, |
37 | | }; |
38 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_2, 1, (MRB_SYM(lambda), ), const); |
39 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_2[15] = { |
40 | | 0x39,0x00,0x00,0x00,0x12,0x02,0x62,0x04,0x00,0x31,0x03,0x00,0x00,0x3d,0x03,}; |
41 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_2, 2, (MRB_SYM(m), ), const); |
42 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_2 = { |
43 | | 3,5,0, |
44 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_2, |
45 | | NULL,gem_mrblib_mruby_method_proc_syms_2,gem_mrblib_mruby_method_proc_reps_2, |
46 | | gem_mrblib_mruby_method_proc_lv_2, |
47 | | NULL, /* debug_info */ |
48 | | 15,0,1,1,0 |
49 | | }; |
50 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_9, 1, (MRB_SYM(call), ), const); |
51 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_9[39] = { |
52 | | 0x39,0x00,0x10,0x03,0x01,0x04,0x03,0x21,0x06,0x01,0x00,0x11,0x07,0x01,0x08,0x01,0x54,0x07,0x5e,0x08, |
53 | | 0x00,0x01,0x09,0x02,0x60,0x08,0x01,0x09,0x04,0x34,0x06,0x00,0xff,0x2f,0x05,0x00,0x01,0x3d,0x05,}; |
54 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_9, 4, (MRB_SYM(args), MRB_SYM(opts), MRB_SYM(block), ), const); |
55 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_9 = { |
56 | | 5,10,0, |
57 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_9, |
58 | | NULL,gem_mrblib_mruby_method_proc_syms_9,NULL, |
59 | | gem_mrblib_mruby_method_proc_lv_9, |
60 | | NULL, /* debug_info */ |
61 | | 39,0,1,0,0 |
62 | | }; |
63 | | static const mrb_irep *gem_mrblib_mruby_method_proc_reps_3[1] = { |
64 | | &gem_mrblib_mruby_method_proc_irep_9, |
65 | | }; |
66 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_3[9] = { |
67 | | 0x39,0x04,0x00,0x00,0x61,0x03,0x00,0x3d,0x03,}; |
68 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_3, 2, (MRB_SYM(other), ), const); |
69 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_3 = { |
70 | | 3,4,0, |
71 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_3, |
72 | | NULL,NULL,gem_mrblib_mruby_method_proc_reps_3, |
73 | | gem_mrblib_mruby_method_proc_lv_3, |
74 | | NULL, /* debug_info */ |
75 | | 9,0,0,1,0 |
76 | | }; |
77 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_13, 1, (MRB_SYM(call), ), const); |
78 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_13[39] = { |
79 | | 0x39,0x00,0x10,0x03,0x01,0x04,0x03,0x21,0x05,0x01,0x00,0x11,0x07,0x01,0x08,0x01,0x54,0x07,0x5e,0x08, |
80 | | 0x00,0x01,0x09,0x02,0x60,0x08,0x01,0x09,0x04,0x31,0x06,0x00,0xff,0x32,0x05,0x00,0x01,0x3d,0x05,}; |
81 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_13, 4, (MRB_SYM(args), MRB_SYM(opts), MRB_SYM(block), ), const); |
82 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_13 = { |
83 | | 5,10,0, |
84 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_13, |
85 | | NULL,gem_mrblib_mruby_method_proc_syms_13,NULL, |
86 | | gem_mrblib_mruby_method_proc_lv_13, |
87 | | NULL, /* debug_info */ |
88 | | 39,0,1,0,0 |
89 | | }; |
90 | | static const mrb_irep *gem_mrblib_mruby_method_proc_reps_4[1] = { |
91 | | &gem_mrblib_mruby_method_proc_irep_13, |
92 | | }; |
93 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_4[9] = { |
94 | | 0x39,0x04,0x00,0x00,0x61,0x03,0x00,0x3d,0x03,}; |
95 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_lv_4, 2, (MRB_SYM(other), ), const); |
96 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_4 = { |
97 | | 3,4,0, |
98 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_4, |
99 | | NULL,NULL,gem_mrblib_mruby_method_proc_reps_4, |
100 | | gem_mrblib_mruby_method_proc_lv_4, |
101 | | NULL, /* debug_info */ |
102 | | 9,0,0,1,0 |
103 | | }; |
104 | | static const mrb_irep *gem_mrblib_mruby_method_proc_reps_1[3] = { |
105 | | &gem_mrblib_mruby_method_proc_irep_2, |
106 | | &gem_mrblib_mruby_method_proc_irep_3, |
107 | | &gem_mrblib_mruby_method_proc_irep_4, |
108 | | }; |
109 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_1, 3, (MRB_SYM(to_proc), MRB_OPSYM(lshift), MRB_OPSYM(rshift), ), const); |
110 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_1[14] = { |
111 | | 0x6b,0x01,0x00,0x00,0x6b,0x01,0x01,0x01,0x6b,0x01,0x02,0x02,0x3d,0x01,}; |
112 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_1 = { |
113 | | 1,2,0, |
114 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_1, |
115 | | NULL,gem_mrblib_mruby_method_proc_syms_1,gem_mrblib_mruby_method_proc_reps_1, |
116 | | NULL, /* lv */ |
117 | | NULL, /* debug_info */ |
118 | | 14,0,3,3,0 |
119 | | }; |
120 | | static const mrb_irep *gem_mrblib_mruby_method_proc_reps_0[1] = { |
121 | | &gem_mrblib_mruby_method_proc_irep_1, |
122 | | }; |
123 | | mrb_DEFINE_SYMS_VAR(gem_mrblib_mruby_method_proc_syms_0, 1, (MRB_SYM(Method), ), const); |
124 | | static const mrb_code gem_mrblib_mruby_method_proc_iseq_0[13] = { |
125 | | 0x11,0x01,0x11,0x02,0x67,0x01,0x00,0x69,0x01,0x00,0x3d,0x01,0x76,}; |
126 | | static const mrb_irep gem_mrblib_mruby_method_proc_irep_0 = { |
127 | | 1,3,0, |
128 | | MRB_IREP_STATIC,gem_mrblib_mruby_method_proc_iseq_0, |
129 | | NULL,gem_mrblib_mruby_method_proc_syms_0,gem_mrblib_mruby_method_proc_reps_0, |
130 | | NULL, /* lv */ |
131 | | NULL, /* debug_info */ |
132 | | 13,0,1,1,0 |
133 | | }; |
134 | | static |
135 | | const struct RProc gem_mrblib_mruby_method_proc[] = {{ |
136 | | NULL,MRB_TT_PROC,MRB_GC_RED,MRB_OBJ_IS_FROZEN,0,{&gem_mrblib_mruby_method_proc_irep_0},NULL,{NULL}, |
137 | | }}; |
138 | | static void |
139 | | gem_mrblib_mruby_method_proc_init_syms(mrb_state *mrb) |
140 | 15.3k | { |
141 | 15.3k | } |
142 | | void mrb_mruby_method_gem_init(mrb_state *mrb); |
143 | | void mrb_mruby_method_gem_final(mrb_state *mrb); |
144 | | |
145 | 15.3k | void GENERATED_TMP_mrb_mruby_method_gem_init(mrb_state *mrb) { |
146 | 15.3k | gem_mrblib_mruby_method_proc_init_syms(mrb); |
147 | 15.3k | mrb_mruby_method_gem_init(mrb); |
148 | 15.3k | mrb_load_proc(mrb, gem_mrblib_mruby_method_proc); |
149 | 15.3k | } |
150 | | |
151 | 15.3k | void GENERATED_TMP_mrb_mruby_method_gem_final(mrb_state *mrb) { |
152 | 15.3k | mrb_mruby_method_gem_final(mrb); |
153 | 15.3k | } |