diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-10 14:28:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-10 14:28:04 +0800 |
commit | eed0937505957237b4116afaceeb3cb4c02b4c11 (patch) | |
tree | 763015e4dd546d4c934a90c9cf27d8b2af84d070 /server/locale/en-US | |
parent | 8d48ad6e7a887266447cdca264f239d4697ec810 (diff) | |
download | lua-language-server-eed0937505957237b4116afaceeb3cb4c02b4c11.zip |
debug.setCstacklimit
Diffstat (limited to 'server/locale/en-US')
-rw-r--r-- | server/locale/en-US/libs/@lua/debug.lni | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/@lua/debug.lni b/server/locale/en-US/libs/@lua/debug.lni index 8ab9d4f1..44d5317f 100644 --- a/server/locale/en-US/libs/@lua/debug.lni +++ b/server/locale/en-US/libs/@lua/debug.lni @@ -94,6 +94,13 @@ to the userdata `u` plus a boolean, `false` if the userdata does not have that value. ]] +[setCstacklimit] +description = [[ +Sets a new limit for the C stack. This limit controls how deeply nested calls can go in Lua, with the intent of avoiding a stack overflow. + +In case of success, this function returns the old limit. In case of error, it returns `false`. +]] + [setfenv] description = 'Sets the environment of the given `object` to the given `table` .' |