aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/lua.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua/lua.luadoc')
-rw-r--r--modules/lua/lua.luadoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/lua/lua.luadoc b/modules/lua/lua.luadoc
index 7990f6e1..d43950b1 100644
--- a/modules/lua/lua.luadoc
+++ b/modules/lua/lua.luadoc
@@ -1076,6 +1076,13 @@ function debug.setmetatable(object, table) end
-- with the given index. Otherwise, it returns the name of the upvalue.
function debug.setupvalue(func, up, value) end
+---
+-- Returns a string with a traceback of the call stack. An optional `message`
+-- string is appended at the beginning of the traceback. An optional `level`
+-- number tells at which level to start the traceback (default is 1, the
+-- function calling `traceback`).
+function debug.traceback([thread,] [message] [,level]) end
+
-- External libraries.
-- LPeg.