From 72effeb8f9d9f3c04d4f5aa4f228dcd1d84f2815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 22 Jun 2022 16:54:29 +0800 Subject: update --- meta/template/basic.lua | 4 ++-- meta/template/debug.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/template/basic.lua b/meta/template/basic.lua index 4509258e..8cae0ef5 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -209,8 +209,8 @@ function select(index, ...) end function setfenv(f, table) end ---#DES 'setmetatable' ----@param table table ----@param metatable table +---@param table table +---@param metatable? table ---@return table function setmetatable(table, metatable) end diff --git a/meta/template/debug.lua b/meta/template/debug.lua index f62aca6e..7cb417b2 100644 --- a/meta/template/debug.lua +++ b/meta/template/debug.lua @@ -167,7 +167,7 @@ function debug.setlocal(thread, level, index, value) end ---#DES 'debug.setmetatable' ---@generic T ---@param value T ----@param meta table +---@param meta? table ---@return T value function debug.setmetatable(value, meta) end -- cgit v1.2.3