summaryrefslogtreecommitdiff
path: root/meta/template/ffi.lua
diff options
context:
space:
mode:
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