From dace9e00fd849d1eb5c6f5a1430a370c2d9494cd Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Tue, 24 Oct 2017 12:32:04 +0800 Subject: [PATCH] Fix checkarg --- checkarg.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/checkarg.lua b/checkarg.lua index 1c57c98..51ed616 100644 --- a/checkarg.lua +++ b/checkarg.lua @@ -28,6 +28,10 @@ function checkfunc(n) do_check(n, "function") end +function checkfunction(n) + do_check(n, "function") +end + function checktable(n) do_check(n, "table") end