summaryrefslogtreecommitdiff
path: root/meta/template/jit.profile.lua
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-05-25 15:14:59 +0800
committerGitHub <noreply@github.com>2023-05-25 15:14:59 +0800
commit3991bea32c342d621c11a8bd4742592e672a1e09 (patch)
tree840280c2f8d3de0f56d1603a895e642a9dd29ebe /meta/template/jit.profile.lua
parent754e7194e45892a5d596cf9f331d4667b7542aa8 (diff)
parentadc1c1ba2f1039d36655f9042f0e16053115e88a (diff)
downloadlua-language-server-3991bea32c342d621c11a8bd4742592e672a1e09.zip
Merge branch 'master' into meta-support-metable
Diffstat (limited to 'meta/template/jit.profile.lua')
-rw-r--r--meta/template/jit.profile.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/jit.profile.lua b/meta/template/jit.profile.lua
index d0e788ce..a7db77bf 100644
--- a/meta/template/jit.profile.lua
+++ b/meta/template/jit.profile.lua
@@ -4,14 +4,14 @@
local profile = {}
---@param mode string
----@param func fun(L:thread,samples:integer,vmst:string)
+---@param func fun(L: thread, samples: integer, vmst: string)
function profile.start(mode, func)
end
function profile.stop()
end
----@overload fun(th:thread,fmt:string,depth:integer)
+---@overload fun(th: thread, fmt: string, depth: integer)
---@param fmt string
---@param depth integer
function profile.dumpstack(fmt, depth)