minetest_x_bows/bin/lua-language-server-3.5.6-l.../meta/template/jit.lua

34 lines
708 B
Lua
Raw Normal View History

2022-11-03 10:37:33 -05:00
---#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