From 4fe47715dacfb18e79848a55f4e1b4d2607b0efd Mon Sep 17 00:00:00 2001 From: sumneko Date: Tue, 9 Apr 2019 19:04:08 +0800 Subject: =?UTF-8?q?xpcall=20=E7=9A=84=E5=B7=AE=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/libs/@lua/basic.lni | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'server/libs/@lua/basic.lni') diff --git a/server/libs/@lua/basic.lni b/server/libs/@lua/basic.lni index 13cf51a6..85d5d6da 100644 --- a/server/libs/@lua/basic.lni +++ b/server/libs/@lua/basic.lni @@ -541,6 +541,23 @@ name = 'result' `````````` type = '...' +['xpcall Lua 5.1'] +name = 'xpcall' +version = 'Lua 5.1' +[[.args]] +name = 'f' +type = 'function' +`````````` +name = 'err' +type = 'function' +[[.returns]] +name = 'success' +type = 'boolean' +`````````` +name = 'result' +`````````` +type = '...' + [require] special = 'require' [[.args]] -- cgit v1.2.3