diff options
Diffstat (limited to 'meta/template/jit.lua')
-rw-r--r-- | meta/template/jit.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/template/jit.lua b/meta/template/jit.lua new file mode 100644 index 00000000..560e1264 --- /dev/null +++ b/meta/template/jit.lua @@ -0,0 +1,31 @@ +---@meta + +---@version JIT +---@class jit* +---@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 ... +function jit.status() end + +return jit |