summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/libs/@lua/debug.lni2
-rw-r--r--server/locale/en-US/libs/@lua/debug.lni2
-rw-r--r--server/locale/zh-CN/libs/@lua/debug.lni2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/libs/@lua/debug.lni b/server/libs/@lua/debug.lni
index a7739993..3c4bfb14 100644
--- a/server/libs/@lua/debug.lni
+++ b/server/libs/@lua/debug.lni
@@ -152,7 +152,7 @@ type = 'any'
``````````
type = 'boolean'
-[setCstacklimit]
+[setcstacklimit]
version = 'Lua 5.4'
[[.args]]
name = 'limit'
diff --git a/server/locale/en-US/libs/@lua/debug.lni b/server/locale/en-US/libs/@lua/debug.lni
index 44d5317f..97ecd97d 100644
--- a/server/locale/en-US/libs/@lua/debug.lni
+++ b/server/locale/en-US/libs/@lua/debug.lni
@@ -94,7 +94,7 @@ to the userdata `u` plus a boolean,
`false` if the userdata does not have that value.
]]
-[setCstacklimit]
+[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.
diff --git a/server/locale/zh-CN/libs/@lua/debug.lni b/server/locale/zh-CN/libs/@lua/debug.lni
index 0ed9e219..6d5d9f8f 100644
--- a/server/locale/zh-CN/libs/@lua/debug.lni
+++ b/server/locale/zh-CN/libs/@lua/debug.lni
@@ -90,7 +90,7 @@ description = '返回关联在 `u` 上的 `Lua` 值。'
["getuservalue Lua 5.4"]
description = '返回关联在 `u` 上的第 `n` 个 `Lua` 值,以及一个布尔,`false`表示值不存在。'
-[setCstacklimit]
+[setcstacklimit]
description = [[
设置新的C栈限制。该限制控制Lua中嵌套调用的深度,以避免堆栈溢出。