minetest_x_bows/bin/lua-language-server-3.5.6-l.../meta/template/jit.lua
2022-11-03 11:37:33 -04:00

34 lines
708 B
Lua

---#if not JIT then DISABLE() end
---@meta
---@version JIT
---@class jitlib
---@field version string
---@field version_num number
---@field os string
---@field arch string
jit = {}
---@overload fun()
---@param func function|boolean
---@param recursive? boolean
function jit.on(func, recursive) end
---@overload fun()
---@param func function|boolean
---@param recursive? boolean
function jit.off(func, recursive) end
---@overload fun()
---@overload fun(tr: number)
---@param func function|boolean
---@param recursive? boolean
function jit.flush(func, recursive) end
---@return boolean status
---@return string ...
---@nodiscard
function jit.status() end
return jit