1 | /* This is a generated file. DO NOT EDIT! */ |
2 | |
3 | #ifdef LJLIB_MODULE_base |
4 | #undef LJLIB_MODULE_base |
5 | static const lua_CFunction lj_lib_cf_base[] = { |
6 | lj_ffh_assert, |
7 | lj_ffh_next, |
8 | lj_ffh_pairs, |
9 | lj_ffh_ipairs_aux, |
10 | lj_ffh_ipairs, |
11 | lj_ffh_setmetatable, |
12 | lj_cf_getfenv, |
13 | lj_cf_setfenv, |
14 | lj_ffh_rawget, |
15 | lj_cf_rawset, |
16 | lj_cf_rawequal, |
17 | lj_cf_unpack, |
18 | lj_cf_select, |
19 | lj_ffh_tonumber, |
20 | lj_ffh_tostring, |
21 | lj_cf_error, |
22 | lj_ffh_pcall, |
23 | lj_cf_loadfile, |
24 | lj_cf_load, |
25 | lj_cf_loadstring, |
26 | lj_cf_dofile, |
27 | lj_cf_gcinfo, |
28 | lj_cf_collectgarbage, |
29 | lj_cf_newproxy, |
30 | lj_cf_print |
31 | }; |
32 | static const uint8_t lj_lib_init_base[] = { |
33 | 2,0,28,70,97,115,115,101,114,116,195,110,105,108,199,98,111,111,108,101,97, |
34 | 110,252,1,200,117,115,101,114,100,97,116,97,198,115,116,114,105,110,103,197, |
35 | 117,112,118,97,108,198,116,104,114,101,97,100,197,112,114,111,116,111,200,102, |
36 | 117,110,99,116,105,111,110,197,116,114,97,99,101,197,99,100,97,116,97,197,116, |
37 | 97,98,108,101,252,9,198,110,117,109,98,101,114,132,116,121,112,101,68,110,101, |
38 | 120,116,253,69,112,97,105,114,115,64,253,70,105,112,97,105,114,115,140,103, |
39 | 101,116,109,101,116,97,116,97,98,108,101,76,115,101,116,109,101,116,97,116, |
40 | 97,98,108,101,7,103,101,116,102,101,110,118,7,115,101,116,102,101,110,118,70, |
41 | 114,97,119,103,101,116,6,114,97,119,115,101,116,8,114,97,119,101,113,117,97, |
42 | 108,6,117,110,112,97,99,107,6,115,101,108,101,99,116,72,116,111,110,117,109, |
43 | 98,101,114,195,110,105,108,197,102,97,108,115,101,196,116,114,117,101,72,116, |
44 | 111,115,116,114,105,110,103,5,101,114,114,111,114,69,112,99,97,108,108,134, |
45 | 120,112,99,97,108,108,8,108,111,97,100,102,105,108,101,4,108,111,97,100,10, |
46 | 108,111,97,100,115,116,114,105,110,103,6,100,111,102,105,108,101,6,103,99,105, |
47 | 110,102,111,14,99,111,108,108,101,99,116,103,97,114,98,97,103,101,252,2,8,110, |
48 | 101,119,112,114,111,120,121,200,116,111,115,116,114,105,110,103,5,112,114,105, |
49 | 110,116,252,3,200,95,86,69,82,83,73,79,78,250,255 |
50 | }; |
51 | #endif |
52 | |
53 | #ifdef LJLIB_MODULE_coroutine |
54 | #undef LJLIB_MODULE_coroutine |
55 | static const lua_CFunction lj_lib_cf_coroutine[] = { |
56 | lj_cf_coroutine_status, |
57 | lj_cf_coroutine_running, |
58 | lj_cf_coroutine_create, |
59 | lj_ffh_coroutine_yield, |
60 | lj_ffh_coroutine_resume, |
61 | lj_cf_coroutine_wrap |
62 | }; |
63 | static const uint8_t lj_lib_init_coroutine[] = { |
64 | 30,13,6,6,115,116,97,116,117,115,7,114,117,110,110,105,110,103,6,99,114,101, |
65 | 97,116,101,69,121,105,101,108,100,70,114,101,115,117,109,101,254,4,119,114, |
66 | 97,112,255 |
67 | }; |
68 | #endif |
69 | |
70 | #ifdef LJLIB_MODULE_math |
71 | #undef LJLIB_MODULE_math |
72 | static const lua_CFunction lj_lib_cf_math[] = { |
73 | lj_ffh_math_abs, |
74 | lj_ffh_math_sqrt, |
75 | lj_ffh_math_log, |
76 | lj_ffh_math_atan2, |
77 | lj_ffh_math_ldexp, |
78 | lj_ffh_math_min, |
79 | lj_cf_math_random, |
80 | lj_cf_math_randomseed |
81 | }; |
82 | static const uint8_t lj_lib_init_math[] = { |
83 | 37,16,30,67,97,98,115,133,102,108,111,111,114,132,99,101,105,108,68,115,113, |
84 | 114,116,133,108,111,103,49,48,131,101,120,112,131,115,105,110,131,99,111,115, |
85 | 131,116,97,110,132,97,115,105,110,132,97,99,111,115,132,97,116,97,110,132,115, |
86 | 105,110,104,132,99,111,115,104,132,116,97,110,104,133,102,114,101,120,112,132, |
87 | 109,111,100,102,251,248,193,99,26,220,165,76,64,131,100,101,103,251,57,157, |
88 | 82,162,70,223,145,63,131,114,97,100,67,108,111,103,69,97,116,97,110,50,131, |
89 | 112,111,119,132,102,109,111,100,69,108,100,101,120,112,67,109,105,110,131,109, |
90 | 97,120,251,24,45,68,84,251,33,9,64,194,112,105,250,251,0,0,0,0,0,0,240,127, |
91 | 196,104,117,103,101,250,252,2,6,114,97,110,100,111,109,252,2,10,114,97,110, |
92 | 100,111,109,115,101,101,100,255 |
93 | }; |
94 | #endif |
95 | |
96 | #ifdef LJLIB_MODULE_bit |
97 | #undef LJLIB_MODULE_bit |
98 | static const lua_CFunction lj_lib_cf_bit[] = { |
99 | lj_ffh_bit_tobit, |
100 | lj_ffh_bit_lshift, |
101 | lj_ffh_bit_band, |
102 | lj_cf_bit_tohex |
103 | }; |
104 | static const uint8_t lj_lib_init_bit[] = { |
105 | 65,42,12,69,116,111,98,105,116,132,98,110,111,116,133,98,115,119,97,112,70, |
106 | 108,115,104,105,102,116,134,114,115,104,105,102,116,135,97,114,115,104,105, |
107 | 102,116,131,114,111,108,131,114,111,114,68,98,97,110,100,131,98,111,114,132, |
108 | 98,120,111,114,5,116,111,104,101,120,255 |
109 | }; |
110 | #endif |
111 | |
112 | #ifdef LJLIB_MODULE_string |
113 | #undef LJLIB_MODULE_string |
114 | static const lua_CFunction lj_lib_cf_string[] = { |
115 | lj_ffh_string_len, |
116 | lj_ffh_string_byte, |
117 | lj_ffh_string_char, |
118 | lj_ffh_string_sub, |
119 | lj_ffh_string_rep, |
120 | lj_ffh_string_reverse, |
121 | lj_cf_string_dump, |
122 | lj_cf_string_find, |
123 | lj_cf_string_match, |
124 | lj_cf_string_gmatch, |
125 | lj_cf_string_gsub, |
126 | lj_cf_string_format |
127 | }; |
128 | static const uint8_t lj_lib_init_string[] = { |
129 | 77,53,14,67,108,101,110,68,98,121,116,101,68,99,104,97,114,67,115,117,98,67, |
130 | 114,101,112,71,114,101,118,101,114,115,101,133,108,111,119,101,114,133,117, |
131 | 112,112,101,114,4,100,117,109,112,4,102,105,110,100,5,109,97,116,99,104,254, |
132 | 6,103,109,97,116,99,104,4,103,115,117,98,6,102,111,114,109,97,116,255 |
133 | }; |
134 | #endif |
135 | |
136 | #ifdef LJLIB_MODULE_table |
137 | #undef LJLIB_MODULE_table |
138 | static const lua_CFunction lj_lib_cf_table[] = { |
139 | lj_cf_table_foreachi, |
140 | lj_cf_table_foreach, |
141 | lj_ffh_table_getn, |
142 | lj_cf_table_maxn, |
143 | lj_cf_table_insert, |
144 | lj_cf_table_remove, |
145 | lj_cf_table_concat, |
146 | lj_cf_table_sort |
147 | }; |
148 | static const uint8_t lj_lib_init_table[] = { |
149 | 92,61,8,8,102,111,114,101,97,99,104,105,7,102,111,114,101,97,99,104,68,103, |
150 | 101,116,110,4,109,97,120,110,6,105,110,115,101,114,116,6,114,101,109,111,118, |
151 | 101,6,99,111,110,99,97,116,4,115,111,114,116,255 |
152 | }; |
153 | #endif |
154 | |
155 | #ifdef LJLIB_MODULE_io_method |
156 | #undef LJLIB_MODULE_io_method |
157 | static const lua_CFunction lj_lib_cf_io_method[] = { |
158 | lj_cf_io_method_close, |
159 | lj_cf_io_method_read, |
160 | lj_cf_io_method_write, |
161 | lj_cf_io_method_flush, |
162 | lj_cf_io_method_seek, |
163 | lj_cf_io_method_setvbuf, |
164 | lj_cf_io_method_lines, |
165 | lj_cf_io_method___gc, |
166 | lj_cf_io_method___tostring |
167 | }; |
168 | static const uint8_t lj_lib_init_io_method[] = { |
169 | 100,62,10,5,99,108,111,115,101,4,114,101,97,100,5,119,114,105,116,101,5,102, |
170 | 108,117,115,104,4,115,101,101,107,7,115,101,116,118,98,117,102,5,108,105,110, |
171 | 101,115,4,95,95,103,99,10,95,95,116,111,115,116,114,105,110,103,252,1,199,95, |
172 | 95,105,110,100,101,120,250,255 |
173 | }; |
174 | #endif |
175 | |
176 | #ifdef LJLIB_MODULE_io |
177 | #undef LJLIB_MODULE_io |
178 | static const lua_CFunction lj_lib_cf_io[] = { |
179 | lj_cf_io_open, |
180 | lj_cf_io_popen, |
181 | lj_cf_io_tmpfile, |
182 | lj_cf_io_close, |
183 | lj_cf_io_read, |
184 | lj_cf_io_write, |
185 | lj_cf_io_flush, |
186 | lj_cf_io_input, |
187 | lj_cf_io_output, |
188 | lj_cf_io_lines, |
189 | lj_cf_io_type |
190 | }; |
191 | static const uint8_t lj_lib_init_io[] = { |
192 | 109,62,12,252,2,192,250,4,111,112,101,110,5,112,111,112,101,110,7,116,109,112, |
193 | 102,105,108,101,5,99,108,111,115,101,4,114,101,97,100,5,119,114,105,116,101, |
194 | 5,102,108,117,115,104,5,105,110,112,117,116,6,111,117,116,112,117,116,5,108, |
195 | 105,110,101,115,4,116,121,112,101,255 |
196 | }; |
197 | #endif |
198 | |
199 | #ifdef LJLIB_MODULE_os |
200 | #undef LJLIB_MODULE_os |
201 | static const lua_CFunction lj_lib_cf_os[] = { |
202 | lj_cf_os_execute, |
203 | lj_cf_os_remove, |
204 | lj_cf_os_rename, |
205 | lj_cf_os_tmpname, |
206 | lj_cf_os_getenv, |
207 | lj_cf_os_exit, |
208 | lj_cf_os_clock, |
209 | lj_cf_os_date, |
210 | lj_cf_os_time, |
211 | lj_cf_os_difftime, |
212 | lj_cf_os_setlocale |
213 | }; |
214 | static const uint8_t lj_lib_init_os[] = { |
215 | 120,62,11,7,101,120,101,99,117,116,101,6,114,101,109,111,118,101,6,114,101, |
216 | 110,97,109,101,7,116,109,112,110,97,109,101,6,103,101,116,101,110,118,4,101, |
217 | 120,105,116,5,99,108,111,99,107,4,100,97,116,101,4,116,105,109,101,8,100,105, |
218 | 102,102,116,105,109,101,9,115,101,116,108,111,99,97,108,101,255 |
219 | }; |
220 | #endif |
221 | |
222 | #ifdef LJLIB_MODULE_debug |
223 | #undef LJLIB_MODULE_debug |
224 | static const lua_CFunction lj_lib_cf_debug[] = { |
225 | lj_cf_debug_getregistry, |
226 | lj_cf_debug_getmetatable, |
227 | lj_cf_debug_setmetatable, |
228 | lj_cf_debug_getfenv, |
229 | lj_cf_debug_setfenv, |
230 | lj_cf_debug_getinfo, |
231 | lj_cf_debug_getlocal, |
232 | lj_cf_debug_setlocal, |
233 | lj_cf_debug_getupvalue, |
234 | lj_cf_debug_setupvalue, |
235 | lj_cf_debug_upvalueid, |
236 | lj_cf_debug_upvaluejoin, |
237 | lj_cf_debug_sethook, |
238 | lj_cf_debug_gethook, |
239 | lj_cf_debug_debug, |
240 | lj_cf_debug_traceback |
241 | }; |
242 | static const uint8_t lj_lib_init_debug[] = { |
243 | 131,62,16,11,103,101,116,114,101,103,105,115,116,114,121,12,103,101,116,109, |
244 | 101,116,97,116,97,98,108,101,12,115,101,116,109,101,116,97,116,97,98,108,101, |
245 | 7,103,101,116,102,101,110,118,7,115,101,116,102,101,110,118,7,103,101,116,105, |
246 | 110,102,111,8,103,101,116,108,111,99,97,108,8,115,101,116,108,111,99,97,108, |
247 | 10,103,101,116,117,112,118,97,108,117,101,10,115,101,116,117,112,118,97,108, |
248 | 117,101,9,117,112,118,97,108,117,101,105,100,11,117,112,118,97,108,117,101, |
249 | 106,111,105,110,7,115,101,116,104,111,111,107,7,103,101,116,104,111,111,107, |
250 | 5,100,101,98,117,103,9,116,114,97,99,101,98,97,99,107,255 |
251 | }; |
252 | #endif |
253 | |
254 | #ifdef LJLIB_MODULE_jit |
255 | #undef LJLIB_MODULE_jit |
256 | static const lua_CFunction lj_lib_cf_jit[] = { |
257 | lj_cf_jit_on, |
258 | lj_cf_jit_off, |
259 | lj_cf_jit_flush, |
260 | lj_cf_jit_status, |
261 | lj_cf_jit_attach |
262 | }; |
263 | static const uint8_t lj_lib_init_jit[] = { |
264 | 147,62,9,2,111,110,3,111,102,102,5,102,108,117,115,104,6,115,116,97,116,117, |
265 | 115,6,97,116,116,97,99,104,252,5,194,111,115,250,252,4,196,97,114,99,104,250, |
266 | 252,3,203,118,101,114,115,105,111,110,95,110,117,109,250,252,2,199,118,101, |
267 | 114,115,105,111,110,250,255 |
268 | }; |
269 | #endif |
270 | |
271 | #ifdef LJLIB_MODULE_jit_util |
272 | #undef LJLIB_MODULE_jit_util |
273 | static const lua_CFunction lj_lib_cf_jit_util[] = { |
274 | lj_cf_jit_util_funcinfo, |
275 | lj_cf_jit_util_funcbc, |
276 | lj_cf_jit_util_funck, |
277 | lj_cf_jit_util_funcuvname, |
278 | lj_cf_jit_util_traceinfo, |
279 | lj_cf_jit_util_traceir, |
280 | lj_cf_jit_util_tracek, |
281 | lj_cf_jit_util_tracesnap, |
282 | lj_cf_jit_util_tracemc, |
283 | lj_cf_jit_util_traceexitstub, |
284 | lj_cf_jit_util_ircalladdr |
285 | }; |
286 | static const uint8_t lj_lib_init_jit_util[] = { |
287 | 152,62,11,8,102,117,110,99,105,110,102,111,6,102,117,110,99,98,99,5,102,117, |
288 | 110,99,107,10,102,117,110,99,117,118,110,97,109,101,9,116,114,97,99,101,105, |
289 | 110,102,111,7,116,114,97,99,101,105,114,6,116,114,97,99,101,107,9,116,114,97, |
290 | 99,101,115,110,97,112,7,116,114,97,99,101,109,99,13,116,114,97,99,101,101,120, |
291 | 105,116,115,116,117,98,10,105,114,99,97,108,108,97,100,100,114,255 |
292 | }; |
293 | #endif |
294 | |
295 | #ifdef LJLIB_MODULE_jit_opt |
296 | #undef LJLIB_MODULE_jit_opt |
297 | static const lua_CFunction lj_lib_cf_jit_opt[] = { |
298 | lj_cf_jit_opt_start |
299 | }; |
300 | static const uint8_t lj_lib_init_jit_opt[] = { |
301 | 163,62,1,5,115,116,97,114,116,255 |
302 | }; |
303 | #endif |
304 | |
305 | #ifdef LJLIB_MODULE_ffi_meta |
306 | #undef LJLIB_MODULE_ffi_meta |
307 | static const lua_CFunction lj_lib_cf_ffi_meta[] = { |
308 | lj_cf_ffi_meta___index, |
309 | lj_cf_ffi_meta___newindex, |
310 | lj_cf_ffi_meta___eq, |
311 | lj_cf_ffi_meta___len, |
312 | lj_cf_ffi_meta___lt, |
313 | lj_cf_ffi_meta___le, |
314 | lj_cf_ffi_meta___concat, |
315 | lj_cf_ffi_meta___call, |
316 | lj_cf_ffi_meta___add, |
317 | lj_cf_ffi_meta___sub, |
318 | lj_cf_ffi_meta___mul, |
319 | lj_cf_ffi_meta___div, |
320 | lj_cf_ffi_meta___mod, |
321 | lj_cf_ffi_meta___pow, |
322 | lj_cf_ffi_meta___unm, |
323 | lj_cf_ffi_meta___tostring, |
324 | lj_cf_ffi_meta___pairs, |
325 | lj_cf_ffi_meta___ipairs |
326 | }; |
327 | static const uint8_t lj_lib_init_ffi_meta[] = { |
328 | 164,62,19,7,95,95,105,110,100,101,120,10,95,95,110,101,119,105,110,100,101, |
329 | 120,4,95,95,101,113,5,95,95,108,101,110,4,95,95,108,116,4,95,95,108,101,8,95, |
330 | 95,99,111,110,99,97,116,6,95,95,99,97,108,108,5,95,95,97,100,100,5,95,95,115, |
331 | 117,98,5,95,95,109,117,108,5,95,95,100,105,118,5,95,95,109,111,100,5,95,95, |
332 | 112,111,119,5,95,95,117,110,109,10,95,95,116,111,115,116,114,105,110,103,7, |
333 | 95,95,112,97,105,114,115,8,95,95,105,112,97,105,114,115,195,102,102,105,203, |
334 | 95,95,109,101,116,97,116,97,98,108,101,250,255 |
335 | }; |
336 | #endif |
337 | |
338 | #ifdef LJLIB_MODULE_ffi_clib |
339 | #undef LJLIB_MODULE_ffi_clib |
340 | static const lua_CFunction lj_lib_cf_ffi_clib[] = { |
341 | lj_cf_ffi_clib___index, |
342 | lj_cf_ffi_clib___newindex, |
343 | lj_cf_ffi_clib___gc |
344 | }; |
345 | static const uint8_t lj_lib_init_ffi_clib[] = { |
346 | 182,62,3,7,95,95,105,110,100,101,120,10,95,95,110,101,119,105,110,100,101,120, |
347 | 4,95,95,103,99,255 |
348 | }; |
349 | #endif |
350 | |
351 | #ifdef LJLIB_MODULE_ffi_callback |
352 | #undef LJLIB_MODULE_ffi_callback |
353 | static const lua_CFunction lj_lib_cf_ffi_callback[] = { |
354 | lj_cf_ffi_callback_free, |
355 | lj_cf_ffi_callback_set |
356 | }; |
357 | static const uint8_t lj_lib_init_ffi_callback[] = { |
358 | 185,62,3,4,102,114,101,101,3,115,101,116,252,1,199,95,95,105,110,100,101,120, |
359 | 250,255 |
360 | }; |
361 | #endif |
362 | |
363 | #ifdef LJLIB_MODULE_ffi |
364 | #undef LJLIB_MODULE_ffi |
365 | static const lua_CFunction lj_lib_cf_ffi[] = { |
366 | lj_cf_ffi_cdef, |
367 | lj_cf_ffi_new, |
368 | lj_cf_ffi_cast, |
369 | lj_cf_ffi_typeof, |
370 | lj_cf_ffi_istype, |
371 | lj_cf_ffi_sizeof, |
372 | lj_cf_ffi_alignof, |
373 | lj_cf_ffi_offsetof, |
374 | lj_cf_ffi_errno, |
375 | lj_cf_ffi_string, |
376 | lj_cf_ffi_copy, |
377 | lj_cf_ffi_fill, |
378 | lj_cf_ffi_abi, |
379 | lj_cf_ffi_metatype, |
380 | lj_cf_ffi_gc, |
381 | lj_cf_ffi_load |
382 | }; |
383 | static const uint8_t lj_lib_init_ffi[] = { |
384 | 187,62,22,4,99,100,101,102,3,110,101,119,4,99,97,115,116,6,116,121,112,101, |
385 | 111,102,6,105,115,116,121,112,101,6,115,105,122,101,111,102,7,97,108,105,103, |
386 | 110,111,102,8,111,102,102,115,101,116,111,102,5,101,114,114,110,111,6,115,116, |
387 | 114,105,110,103,4,99,111,112,121,4,102,105,108,108,3,97,98,105,252,8,192,250, |
388 | 8,109,101,116,97,116,121,112,101,252,7,192,250,2,103,99,252,5,192,250,4,108, |
389 | 111,97,100,252,4,193,67,250,252,3,194,111,115,250,252,2,196,97,114,99,104,250, |
390 | 255 |
391 | }; |
392 | #endif |
393 | |
394 | |