src/lj_libdef.h - luajit-2.0-src

Global variables defined

Macros defined

Source code

  1. /* This is a generated file. DO NOT EDIT! */

  2. #ifdef LJLIB_MODULE_base
  3. #undef LJLIB_MODULE_base
  4. static const lua_CFunction lj_lib_cf_base[] = {
  5.   lj_ffh_assert,
  6.   lj_ffh_next,
  7.   lj_ffh_pairs,
  8.   lj_ffh_ipairs_aux,
  9.   lj_ffh_ipairs,
  10.   lj_ffh_setmetatable,
  11.   lj_cf_getfenv,
  12.   lj_cf_setfenv,
  13.   lj_ffh_rawget,
  14.   lj_cf_rawset,
  15.   lj_cf_rawequal,
  16.   lj_cf_unpack,
  17.   lj_cf_select,
  18.   lj_ffh_tonumber,
  19.   lj_ffh_tostring,
  20.   lj_cf_error,
  21.   lj_ffh_pcall,
  22.   lj_cf_loadfile,
  23.   lj_cf_load,
  24.   lj_cf_loadstring,
  25.   lj_cf_dofile,
  26.   lj_cf_gcinfo,
  27.   lj_cf_collectgarbage,
  28.   lj_cf_newproxy,
  29.   lj_cf_print
  30. };
  31. static const uint8_t lj_lib_init_base[] = {
  32. 2,0,28,70,97,115,115,101,114,116,195,110,105,108,199,98,111,111,108,101,97,
  33. 110,252,1,200,117,115,101,114,100,97,116,97,198,115,116,114,105,110,103,197,
  34. 117,112,118,97,108,198,116,104,114,101,97,100,197,112,114,111,116,111,200,102,
  35. 117,110,99,116,105,111,110,197,116,114,97,99,101,197,99,100,97,116,97,197,116,
  36. 97,98,108,101,252,9,198,110,117,109,98,101,114,132,116,121,112,101,68,110,101,
  37. 120,116,253,69,112,97,105,114,115,64,253,70,105,112,97,105,114,115,140,103,
  38. 101,116,109,101,116,97,116,97,98,108,101,76,115,101,116,109,101,116,97,116,
  39. 97,98,108,101,7,103,101,116,102,101,110,118,7,115,101,116,102,101,110,118,70,
  40. 114,97,119,103,101,116,6,114,97,119,115,101,116,8,114,97,119,101,113,117,97,
  41. 108,6,117,110,112,97,99,107,6,115,101,108,101,99,116,72,116,111,110,117,109,
  42. 98,101,114,72,116,111,115,116,114,105,110,103,5,101,114,114,111,114,69,112,
  43. 99,97,108,108,134,120,112,99,97,108,108,8,108,111,97,100,102,105,108,101,4,
  44. 108,111,97,100,10,108,111,97,100,115,116,114,105,110,103,6,100,111,102,105,
  45. 108,101,6,103,99,105,110,102,111,14,99,111,108,108,101,99,116,103,97,114,98,
  46. 97,103,101,252,2,8,110,101,119,112,114,111,120,121,200,116,111,115,116,114,
  47. 105,110,103,5,112,114,105,110,116,252,3,200,95,86,69,82,83,73,79,78,250,255
  48. };
  49. #endif

  50. #ifdef LJLIB_MODULE_coroutine
  51. #undef LJLIB_MODULE_coroutine
  52. static const lua_CFunction lj_lib_cf_coroutine[] = {
  53.   lj_cf_coroutine_status,
  54.   lj_cf_coroutine_running,
  55.   lj_cf_coroutine_create,
  56.   lj_ffh_coroutine_yield,
  57.   lj_ffh_coroutine_resume,
  58.   lj_cf_coroutine_wrap
  59. };
  60. static const uint8_t lj_lib_init_coroutine[] = {
  61. 30,13,6,6,115,116,97,116,117,115,7,114,117,110,110,105,110,103,6,99,114,101,
  62. 97,116,101,69,121,105,101,108,100,70,114,101,115,117,109,101,254,4,119,114,
  63. 97,112,255
  64. };
  65. #endif

  66. #ifdef LJLIB_MODULE_math
  67. #undef LJLIB_MODULE_math
  68. static const lua_CFunction lj_lib_cf_math[] = {
  69.   lj_ffh_math_abs,
  70.   lj_ffh_math_sqrt,
  71.   lj_ffh_math_log,
  72.   lj_ffh_math_atan2,
  73.   lj_ffh_math_ldexp,
  74.   lj_ffh_math_min,
  75.   lj_cf_math_random,
  76.   lj_cf_math_randomseed
  77. };
  78. static const uint8_t lj_lib_init_math[] = {
  79. 37,16,30,67,97,98,115,133,102,108,111,111,114,132,99,101,105,108,68,115,113,
  80. 114,116,133,108,111,103,49,48,131,101,120,112,131,115,105,110,131,99,111,115,
  81. 131,116,97,110,132,97,115,105,110,132,97,99,111,115,132,97,116,97,110,132,115,
  82. 105,110,104,132,99,111,115,104,132,116,97,110,104,133,102,114,101,120,112,132,
  83. 109,111,100,102,67,108,111,103,249,3,100,101,103,0,1,2,0,0,1,2,24,1,0,0,76,
  84. 1,2,0,241,135,158,166,3,220,203,178,130,4,249,3,114,97,100,0,1,2,0,0,1,2,24,
  85. 1,0,0,76,1,2,0,243,244,148,165,20,198,190,199,252,3,69,97,116,97,110,50,131,
  86. 112,111,119,132,102,109,111,100,69,108,100,101,120,112,67,109,105,110,131,109,
  87. 97,120,251,24,45,68,84,251,33,9,64,194,112,105,250,251,0,0,0,0,0,0,240,127,
  88. 196,104,117,103,101,250,252,2,6,114,97,110,100,111,109,252,2,10,114,97,110,
  89. 100,111,109,115,101,101,100,255
  90. };
  91. #endif

  92. #ifdef LJLIB_MODULE_bit
  93. #undef LJLIB_MODULE_bit
  94. static const lua_CFunction lj_lib_cf_bit[] = {
  95.   lj_ffh_bit_tobit,
  96.   lj_ffh_bit_bnot,
  97.   lj_ffh_bit_bswap,
  98.   lj_ffh_bit_lshift,
  99.   lj_ffh_bit_band,
  100.   lj_cf_bit_tohex
  101. };
  102. static const uint8_t lj_lib_init_bit[] = {
  103. 63,40,12,69,116,111,98,105,116,68,98,110,111,116,69,98,115,119,97,112,70,108,
  104. 115,104,105,102,116,134,114,115,104,105,102,116,135,97,114,115,104,105,102,
  105. 116,131,114,111,108,131,114,111,114,68,98,97,110,100,131,98,111,114,132,98,
  106. 120,111,114,5,116,111,104,101,120,255
  107. };
  108. #endif

  109. #ifdef LJLIB_MODULE_string
  110. #undef LJLIB_MODULE_string
  111. static const lua_CFunction lj_lib_cf_string[] = {
  112.   lj_ffh_string_byte,
  113.   lj_ffh_string_char,
  114.   lj_ffh_string_sub,
  115.   lj_cf_string_rep,
  116.   lj_ffh_string_reverse,
  117.   lj_cf_string_dump,
  118.   lj_cf_string_find,
  119.   lj_cf_string_match,
  120.   lj_cf_string_gmatch,
  121.   lj_cf_string_gsub,
  122.   lj_cf_string_format
  123. };
  124. static const uint8_t lj_lib_init_string[] = {
  125. 75,51,14,249,3,108,101,110,0,1,2,0,0,0,3,16,0,5,0,21,1,0,0,76,1,2,0,68,98,121,
  126. 116,101,68,99,104,97,114,67,115,117,98,3,114,101,112,71,114,101,118,101,114,
  127. 115,101,133,108,111,119,101,114,133,117,112,112,101,114,4,100,117,109,112,4,
  128. 102,105,110,100,5,109,97,116,99,104,254,6,103,109,97,116,99,104,4,103,115,117,
  129. 98,6,102,111,114,109,97,116,255
  130. };
  131. #endif

  132. #ifdef LJLIB_MODULE_table
  133. #undef LJLIB_MODULE_table
  134. static const lua_CFunction lj_lib_cf_table[] = {
  135.   lj_cf_table_maxn,
  136.   lj_cf_table_insert,
  137.   lj_cf_table_concat,
  138.   lj_cf_table_sort
  139. };
  140. static const uint8_t lj_lib_init_table[] = {
  141. 89,57,8,249,8,102,111,114,101,97,99,104,105,0,2,9,0,0,0,15,16,0,12,0,16,1,9,
  142. 0,41,2,1,0,21,3,0,0,41,4,1,0,77,2,8,128,18,6,1,0,18,7,5,0,59,8,5,0,66,6,3,2,
  143. 10,6,0,0,88,7,1,128,76,6,2,0,79,2,248,127,75,0,1,0,249,7,102,111,114,101,97,
  144. 99,104,0,2,10,0,0,0,16,16,0,12,0,16,1,9,0,43,2,0,0,18,3,0,0,41,4,0,0,88,5,7,
  145. 128,18,7,1,0,18,8,5,0,18,9,6,0,66,7,3,2,10,7,0,0,88,8,1,128,76,7,2,0,70,5,3,
  146. 3,82,5,247,127,75,0,1,0,249,4,103,101,116,110,0,1,2,0,0,0,3,16,0,12,0,21,1,
  147. 0,0,76,1,2,0,4,109,97,120,110,6,105,110,115,101,114,116,249,6,114,101,109,111,
  148. 118,101,0,2,10,0,0,2,30,16,0,12,0,21,2,0,0,11,1,0,0,88,3,7,128,8,2,0,0,88,3,
  149. 23,128,59,3,2,0,43,4,0,0,64,4,2,0,76,3,2,0,88,3,18,128,16,1,14,0,41,3,1,0,3,
  150. 3,1,0,88,3,14,128,3,1,2,0,88,3,12,128,59,3,1,0,22,4,1,1,18,5,2,0,41,6,1,0,77,
  151. 4,4,128,23,8,1,7,59,9,7,0,64,9,8,0,79,4,252,127,43,4,0,0,64,4,2,0,76,3,2,0,
  152. 75,0,1,0,0,2,6,99,111,110,99,97,116,4,115,111,114,116,254,254,255
  153. };
  154. #endif

  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. 95,57,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. #ifdef LJLIB_MODULE_io
  176. #undef LJLIB_MODULE_io
  177. static const lua_CFunction lj_lib_cf_io[] = {
  178.   lj_cf_io_open,
  179.   lj_cf_io_popen,
  180.   lj_cf_io_tmpfile,
  181.   lj_cf_io_close,
  182.   lj_cf_io_read,
  183.   lj_cf_io_write,
  184.   lj_cf_io_flush,
  185.   lj_cf_io_input,
  186.   lj_cf_io_output,
  187.   lj_cf_io_lines,
  188.   lj_cf_io_type
  189. };
  190. static const uint8_t lj_lib_init_io[] = {
  191. 104,57,12,252,2,192,250,4,111,112,101,110,5,112,111,112,101,110,7,116,109,112,
  192. 102,105,108,101,5,99,108,111,115,101,4,114,101,97,100,5,119,114,105,116,101,
  193. 5,102,108,117,115,104,5,105,110,112,117,116,6,111,117,116,112,117,116,5,108,
  194. 105,110,101,115,4,116,121,112,101,255
  195. };
  196. #endif

  197. #ifdef LJLIB_MODULE_os
  198. #undef LJLIB_MODULE_os
  199. static const lua_CFunction lj_lib_cf_os[] = {
  200.   lj_cf_os_execute,
  201.   lj_cf_os_remove,
  202.   lj_cf_os_rename,
  203.   lj_cf_os_tmpname,
  204.   lj_cf_os_getenv,
  205.   lj_cf_os_exit,
  206.   lj_cf_os_clock,
  207.   lj_cf_os_date,
  208.   lj_cf_os_time,
  209.   lj_cf_os_difftime,
  210.   lj_cf_os_setlocale
  211. };
  212. static const uint8_t lj_lib_init_os[] = {
  213. 115,57,11,7,101,120,101,99,117,116,101,6,114,101,109,111,118,101,6,114,101,
  214. 110,97,109,101,7,116,109,112,110,97,109,101,6,103,101,116,101,110,118,4,101,
  215. 120,105,116,5,99,108,111,99,107,4,100,97,116,101,4,116,105,109,101,8,100,105,
  216. 102,102,116,105,109,101,9,115,101,116,108,111,99,97,108,101,255
  217. };
  218. #endif

  219. #ifdef LJLIB_MODULE_debug
  220. #undef LJLIB_MODULE_debug
  221. static const lua_CFunction lj_lib_cf_debug[] = {
  222.   lj_cf_debug_getregistry,
  223.   lj_cf_debug_getmetatable,
  224.   lj_cf_debug_setmetatable,
  225.   lj_cf_debug_getfenv,
  226.   lj_cf_debug_setfenv,
  227.   lj_cf_debug_getinfo,
  228.   lj_cf_debug_getlocal,
  229.   lj_cf_debug_setlocal,
  230.   lj_cf_debug_getupvalue,
  231.   lj_cf_debug_setupvalue,
  232.   lj_cf_debug_upvalueid,
  233.   lj_cf_debug_upvaluejoin,
  234.   lj_cf_debug_sethook,
  235.   lj_cf_debug_gethook,
  236.   lj_cf_debug_debug,
  237.   lj_cf_debug_traceback
  238. };
  239. static const uint8_t lj_lib_init_debug[] = {
  240. 126,57,16,11,103,101,116,114,101,103,105,115,116,114,121,12,103,101,116,109,
  241. 101,116,97,116,97,98,108,101,12,115,101,116,109,101,116,97,116,97,98,108,101,
  242. 7,103,101,116,102,101,110,118,7,115,101,116,102,101,110,118,7,103,101,116,105,
  243. 110,102,111,8,103,101,116,108,111,99,97,108,8,115,101,116,108,111,99,97,108,
  244. 10,103,101,116,117,112,118,97,108,117,101,10,115,101,116,117,112,118,97,108,
  245. 117,101,9,117,112,118,97,108,117,101,105,100,11,117,112,118,97,108,117,101,
  246. 106,111,105,110,7,115,101,116,104,111,111,107,7,103,101,116,104,111,111,107,
  247. 5,100,101,98,117,103,9,116,114,97,99,101,98,97,99,107,255
  248. };
  249. #endif

  250. #ifdef LJLIB_MODULE_jit
  251. #undef LJLIB_MODULE_jit
  252. static const lua_CFunction lj_lib_cf_jit[] = {
  253.   lj_cf_jit_on,
  254.   lj_cf_jit_off,
  255.   lj_cf_jit_flush,
  256.   lj_cf_jit_status,
  257.   lj_cf_jit_attach
  258. };
  259. static const uint8_t lj_lib_init_jit[] = {
  260. 142,57,9,2,111,110,3,111,102,102,5,102,108,117,115,104,6,115,116,97,116,117,
  261. 115,6,97,116,116,97,99,104,252,5,194,111,115,250,252,4,196,97,114,99,104,250,
  262. 252,3,203,118,101,114,115,105,111,110,95,110,117,109,250,252,2,199,118,101,
  263. 114,115,105,111,110,250,255
  264. };
  265. #endif

  266. #ifdef LJLIB_MODULE_jit_util
  267. #undef LJLIB_MODULE_jit_util
  268. static const lua_CFunction lj_lib_cf_jit_util[] = {
  269.   lj_cf_jit_util_funcinfo,
  270.   lj_cf_jit_util_funcbc,
  271.   lj_cf_jit_util_funck,
  272.   lj_cf_jit_util_funcuvname,
  273.   lj_cf_jit_util_traceinfo,
  274.   lj_cf_jit_util_traceir,
  275.   lj_cf_jit_util_tracek,
  276.   lj_cf_jit_util_tracesnap,
  277.   lj_cf_jit_util_tracemc,
  278.   lj_cf_jit_util_traceexitstub,
  279.   lj_cf_jit_util_ircalladdr
  280. };
  281. static const uint8_t lj_lib_init_jit_util[] = {
  282. 147,57,11,8,102,117,110,99,105,110,102,111,6,102,117,110,99,98,99,5,102,117,
  283. 110,99,107,10,102,117,110,99,117,118,110,97,109,101,9,116,114,97,99,101,105,
  284. 110,102,111,7,116,114,97,99,101,105,114,6,116,114,97,99,101,107,9,116,114,97,
  285. 99,101,115,110,97,112,7,116,114,97,99,101,109,99,13,116,114,97,99,101,101,120,
  286. 105,116,115,116,117,98,10,105,114,99,97,108,108,97,100,100,114,255
  287. };
  288. #endif

  289. #ifdef LJLIB_MODULE_jit_opt
  290. #undef LJLIB_MODULE_jit_opt
  291. static const lua_CFunction lj_lib_cf_jit_opt[] = {
  292.   lj_cf_jit_opt_start
  293. };
  294. static const uint8_t lj_lib_init_jit_opt[] = {
  295. 158,57,1,5,115,116,97,114,116,255
  296. };
  297. #endif

  298. #ifdef LJLIB_MODULE_jit_profile
  299. #undef LJLIB_MODULE_jit_profile
  300. static const lua_CFunction lj_lib_cf_jit_profile[] = {
  301.   lj_cf_jit_profile_start,
  302.   lj_cf_jit_profile_stop,
  303.   lj_cf_jit_profile_dumpstack
  304. };
  305. static const uint8_t lj_lib_init_jit_profile[] = {
  306. 159,57,3,5,115,116,97,114,116,4,115,116,111,112,9,100,117,109,112,115,116,97,
  307. 99,107,255
  308. };
  309. #endif

  310. #ifdef LJLIB_MODULE_ffi_meta
  311. #undef LJLIB_MODULE_ffi_meta
  312. static const lua_CFunction lj_lib_cf_ffi_meta[] = {
  313.   lj_cf_ffi_meta___index,
  314.   lj_cf_ffi_meta___newindex,
  315.   lj_cf_ffi_meta___eq,
  316.   lj_cf_ffi_meta___len,
  317.   lj_cf_ffi_meta___lt,
  318.   lj_cf_ffi_meta___le,
  319.   lj_cf_ffi_meta___concat,
  320.   lj_cf_ffi_meta___call,
  321.   lj_cf_ffi_meta___add,
  322.   lj_cf_ffi_meta___sub,
  323.   lj_cf_ffi_meta___mul,
  324.   lj_cf_ffi_meta___div,
  325.   lj_cf_ffi_meta___mod,
  326.   lj_cf_ffi_meta___pow,
  327.   lj_cf_ffi_meta___unm,
  328.   lj_cf_ffi_meta___tostring,
  329.   lj_cf_ffi_meta___pairs,
  330.   lj_cf_ffi_meta___ipairs
  331. };
  332. static const uint8_t lj_lib_init_ffi_meta[] = {
  333. 162,57,19,7,95,95,105,110,100,101,120,10,95,95,110,101,119,105,110,100,101,
  334. 120,4,95,95,101,113,5,95,95,108,101,110,4,95,95,108,116,4,95,95,108,101,8,95,
  335. 95,99,111,110,99,97,116,6,95,95,99,97,108,108,5,95,95,97,100,100,5,95,95,115,
  336. 117,98,5,95,95,109,117,108,5,95,95,100,105,118,5,95,95,109,111,100,5,95,95,
  337. 112,111,119,5,95,95,117,110,109,10,95,95,116,111,115,116,114,105,110,103,7,
  338. 95,95,112,97,105,114,115,8,95,95,105,112,97,105,114,115,195,102,102,105,203,
  339. 95,95,109,101,116,97,116,97,98,108,101,250,255
  340. };
  341. #endif

  342. #ifdef LJLIB_MODULE_ffi_clib
  343. #undef LJLIB_MODULE_ffi_clib
  344. static const lua_CFunction lj_lib_cf_ffi_clib[] = {
  345.   lj_cf_ffi_clib___index,
  346.   lj_cf_ffi_clib___newindex,
  347.   lj_cf_ffi_clib___gc
  348. };
  349. static const uint8_t lj_lib_init_ffi_clib[] = {
  350. 180,57,3,7,95,95,105,110,100,101,120,10,95,95,110,101,119,105,110,100,101,120,
  351. 4,95,95,103,99,255
  352. };
  353. #endif

  354. #ifdef LJLIB_MODULE_ffi_callback
  355. #undef LJLIB_MODULE_ffi_callback
  356. static const lua_CFunction lj_lib_cf_ffi_callback[] = {
  357.   lj_cf_ffi_callback_free,
  358.   lj_cf_ffi_callback_set
  359. };
  360. static const uint8_t lj_lib_init_ffi_callback[] = {
  361. 183,57,3,4,102,114,101,101,3,115,101,116,252,1,199,95,95,105,110,100,101,120,
  362. 250,255
  363. };
  364. #endif

  365. #ifdef LJLIB_MODULE_ffi
  366. #undef LJLIB_MODULE_ffi
  367. static const lua_CFunction lj_lib_cf_ffi[] = {
  368.   lj_cf_ffi_cdef,
  369.   lj_cf_ffi_new,
  370.   lj_cf_ffi_cast,
  371.   lj_cf_ffi_typeof,
  372.   lj_cf_ffi_typeinfo,
  373.   lj_cf_ffi_istype,
  374.   lj_cf_ffi_sizeof,
  375.   lj_cf_ffi_alignof,
  376.   lj_cf_ffi_offsetof,
  377.   lj_cf_ffi_errno,
  378.   lj_cf_ffi_string,
  379.   lj_cf_ffi_copy,
  380.   lj_cf_ffi_fill,
  381.   lj_cf_ffi_abi,
  382.   lj_cf_ffi_metatype,
  383.   lj_cf_ffi_gc,
  384.   lj_cf_ffi_load
  385. };
  386. static const uint8_t lj_lib_init_ffi[] = {
  387. 185,57,23,4,99,100,101,102,3,110,101,119,4,99,97,115,116,6,116,121,112,101,
  388. 111,102,8,116,121,112,101,105,110,102,111,6,105,115,116,121,112,101,6,115,105,
  389. 122,101,111,102,7,97,108,105,103,110,111,102,8,111,102,102,115,101,116,111,
  390. 102,5,101,114,114,110,111,6,115,116,114,105,110,103,4,99,111,112,121,4,102,
  391. 105,108,108,3,97,98,105,252,8,192,250,8,109,101,116,97,116,121,112,101,252,
  392. 7,192,250,2,103,99,252,5,192,250,4,108,111,97,100,252,4,193,67,250,252,3,194,
  393. 111,115,250,252,2,196,97,114,99,104,250,255
  394. };
  395. #endif