From 33ad259343e0710acd009bdf7159c013c160128e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 14 Dec 2018 18:40:23 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/libs/lua53/basic.lni | 102 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) (limited to 'server/libs/lua53/basic.lni') diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni index 09092026..7ddc1831 100644 --- a/server/libs/lua53/basic.lni +++ b/server/libs/lua53/basic.lni @@ -203,16 +203,58 @@ name = 'result' type = '...' [print] +[[.args]] +type = '...' [rawequal] +[[.args]] +name = 'v1' +[[.args]] +name = 'v2' +[[.returns]] +type = 'boolean' [rawget] +[[.args]] +name = 'table' +type = 'table' +[[.args]] +name = 'index' +[[.returns]] [rawlen] +[[.args]] +name = 'v' +type = {'table', 'string'} +[[.returns]] +name = 'len' +type = 'integer' [rawset] +[[.args]] +name = 'table' +type = 'table' +[[.args]] +name = 'index' +[[.args]] +name = 'value' +[[.returns]] +name = 'table' +type = 'table' [select] +[[.args]] +name = 'index' +type = {'string', 'integer'} +[[.args]] +type = '...' +[[.returns]] +[[.enums]] +name = 'index' +enum = '#' +[[.enums]] +name = 'index' +code = 'integer' [setmetatable] special = 'setmetatable' @@ -226,13 +268,73 @@ type = 'table' type = 'table' [tonumber] +[[.args]] +name = 'e' +type = {'string', 'number'} +[[.args]] +name = 'base' +type = 'integer' +optional = 'self' +[[.returns]] +type = 'number' [tostring] +[[.args]] +name = 'v' +[[.returns]] +type = 'string' [type] +[[.args]] +name = 'v' +[[.returns]] +name = 'type' +type = 'string' +[[.enums]] +name = 'type' +enum = 'nil' +[[.enums]] +name = 'type' +enum = 'number' +[[.enums]] +name = 'type' +enum = 'string' +[[.enums]] +name = 'type' +enum = 'boolean' +[[.enums]] +name = 'type' +enum = 'table' +[[.enums]] +name = 'type' +enum = 'function' +[[.enums]] +name = 'type' +enum = 'thread' +[[.enums]] +name = 'type' +enum = 'userdata' [_VERSION] type = 'string' value = 'Lua5.3' [xpcall] +[[.args]] +name = 'f' +type = 'function' +[[.args]] +name = 'msgh' +type = 'function' +[[.args]] +name = 'arg1' +optional = 'after' +[[.args]] +type = '...' +[[.returns]] +name = 'success' +type = 'boolean' +[[.returns]] +name = 'result' +[[.returns]] +type = '...' -- cgit v1.2.3