summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua6
-rw-r--r--meta/template/debug.lua2
2 files changed, 7 insertions, 1 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index 31b10bd1..aed3085e 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -127,6 +127,12 @@ function loadfile(filename, mode, env) end
function loadstring(text, chunkname) end
---@version 5.1
+---@param proxy boolean|table
+---@return userdata
+---@nodiscard
+function newproxy(proxy) end
+
+---@version 5.1
---#DES 'module'
---@param name string
function module(name, ...) end
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index c8b506f5..6e74e1f6 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -15,7 +15,7 @@ debug = {}
---@field currentline integer
---@field istailcall boolean
---@field nups integer
----#if VERSION >= 5.2 then
+---#if VERSION >= 5.2 or JIT then
---@field nparams integer
---@field isvararg boolean
---#end