diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-19 11:51:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-19 11:51:31 +0800 |
commit | 1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b (patch) | |
tree | 139de5a308902f36b8a69ae285eca5bc96799a97 /meta/template/ffi.lua | |
parent | 30b024f811b4d36c4eb09dbba846d1feb9751342 (diff) | |
download | lua-language-server-1a65fe75ed8965bbfc6ed20691ceb9a803b55d7b.zip |
rename lib class name
Diffstat (limited to 'meta/template/ffi.lua')
-rw-r--r-- | meta/template/ffi.lua | 4 |
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 |