summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 26b6049e..67da98b1 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -109,7 +109,7 @@ function debug.getupvalue(f, up) end
---@return any
---@return boolean
function debug.getuservalue(u, n) end
----#else
+---#elseif VERSION >= 5.2 then
---#DES 'debug.getuservalue<5.3'
---@param u userdata
---@return any
@@ -173,7 +173,7 @@ function debug.setupvalue(f, up, value) end
---@param n integer
---@return userdata udata
function debug.setuservalue(udata, value, n) end
----#else
+---#elseif VERSION >= 5.2 then
---#DES 'debug.setuservalue<5.3'
---@param udata userdata
---@param value any