From 301944d9cc57c1f3c3a79334a0e3c886fb8dceb0 Mon Sep 17 00:00:00 2001 From: --get-all Date: Mon, 28 Mar 2022 13:56:08 +0800 Subject: update meta basic.lua Document add standard library function [newproxy], although they do not appear in the document --- meta/template/basic.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta') diff --git a/meta/template/basic.lua b/meta/template/basic.lua index b26d3959..527fb36f 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -126,6 +126,12 @@ function loadfile(filename, mode, env) end ---@nodiscard function loadstring(text, chunkname) end +---@version 5.1 +---@param flag_or_proxy boolean | table +---@return table +---@nodiscard +function newproxy(flag_or_proxy) end + ---@version 5.1 ---#DES 'module' ---@param name string -- cgit v1.2.3