diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-13 10:57:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-13 10:57:15 +0800 |
commit | 27034b3d99b31be96865e50d70a776fb3caac088 (patch) | |
tree | 1d4f7252bd2dd8cf2f24e7b73e4ab885a76b9eb7 /meta/template/debug.lua | |
parent | 4e52738f7a315085505ffdbefe9ce6722ec3965f (diff) | |
download | lua-language-server-27034b3d99b31be96865e50d70a776fb3caac088.zip |
暂存
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r-- | meta/template/debug.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua index b957d948..f599655c 100644 --- a/meta/template/debug.lua +++ b/meta/template/debug.lua @@ -80,10 +80,10 @@ function debug.getuservalue(u, n) end ---@return integer|boolean function debug.setcstacklimit(limit) end ----@generic ANY ----@param object ANY +---@generic T +---@param object T ---@param env table ----@return ANY object +---@return T object function debug.setfenv(object, env) end ---@alias hookmask @@ -106,10 +106,10 @@ function debug.sethook(thread, hook, mask, count) end ---@return string name function debug.setlocal(thread, level, index, value) end ----@generic ANY ----@param value ANY +---@generic T +---@param value T ---@param meta table ----@return ANY value +---@return T value function debug.setmetatable(value, meta) end ---@param f function |