diff options
author | 2011-08-31 18:02:23 -0400 | |
---|---|---|
committer | 2011-08-31 18:02:23 -0400 | |
commit | fff8e91238aaa9af95bc5078a0cc8e4c05f2accc (patch) | |
tree | 607185fca9d0f70fd1861d6838decb259391dd00 /modules/lua/lua.luadoc | |
parent | 736bf957dffa28090d376579e6bc41b900189a7b (diff) | |
download | textadept-fff8e91238aaa9af95bc5078a0cc8e4c05f2accc.tar.gz textadept-fff8e91238aaa9af95bc5078a0cc8e4c05f2accc.zip |
Added Lua debug.traceback documentation.
Diffstat (limited to 'modules/lua/lua.luadoc')
-rw-r--r-- | modules/lua/lua.luadoc | 7 |
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. |