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.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index a8c7f2df..8db01634 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -12,3 +12,10 @@ function debug.getfenv(o) end
---@return string mask
---@return integer count
function debug.gethook(co) end
+
+---@alias infowhat '"nSltufL"'
+---@alias finfo
+---| '""'
+
+---@overload fun(f: integer|function, what: infowhat?):finfo
+function debug.getinfo1(thread, f, what) end