summaryrefslogtreecommitdiff
path: root/meta/template/ffi.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-19 11:51:31 +0800
commit1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (patch)
tree139de5a308902f36b8a69ae285eca5bc96799a97 /meta/template/ffi.lua
parent30b024f811b4d36c4eb09dbba846d1feb9751342 (diff)
downloadlua-language-server-1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b.zip
rename lib class name
Diffstat (limited to 'meta/template/ffi.lua')
-rw-r--r--meta/template/ffi.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua
index 8e7137e4..e3a09ea1 100644
--- a/meta/template/ffi.lua
+++ b/meta/template/ffi.lua
@@ -14,12 +14,14 @@ local cb
---@class ffi.VLS*: userdata
---@version JIT
----@class ffi*
+---@class ffilib
---@field C ffi.namespace*
---@field os string
---@field arch string
local ffi = {}
+---@alias ffi* ffilib
+
---@param def string
function ffi.cdef(def) end