From 77261546c3e40a9f5fca1d31d84a263d743e0b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 17 Dec 2018 22:20:16 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/libs/lua53/string.lni | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/libs') diff --git a/server/libs/lua53/string.lni b/server/libs/lua53/string.lni index 332ccc5a..522e373a 100644 --- a/server/libs/lua53/string.lni +++ b/server/libs/lua53/string.lni @@ -70,6 +70,7 @@ default = 1 [[.args]] name = 'plain' type = 'boolean' +optional = 'self' [[.returns]] name = 'start' type = 'integer' @@ -77,6 +78,7 @@ type = 'integer' name = 'end' type = 'integer' [[.returns]] +name = 'captured' type = '...' [format] @@ -146,6 +148,7 @@ type = 'integer' optional = 'self' default = 1 [[.returns]] +name = 'captured' type = 'string' [pack] @@ -216,6 +219,7 @@ type = 'string' name = 'pos' type = 'integer' optional = 'self' +default = 1 [[.returns]] type = '...' [[.returns]] -- cgit v1.2.3