summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-05-12 13:52:34 +0800
committerfesily <fesil@foxmail.com>2023-05-12 13:52:34 +0800
commit76ef8053d06a2daf00abd33a2716838cb05bf468 (patch)
tree3248884642f62dcb43f948f156ac3633849ee8a5 /meta/template
parentc0702f050bfe3bf03214351ca0a7f090c0c5d489 (diff)
downloadlua-language-server-76ef8053d06a2daf00abd33a2716838cb05bf468.zip
add builder
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/ffi.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua
index a9d48657..670a6f9a 100644
--- a/meta/template/ffi.lua
+++ b/meta/template/ffi.lua
@@ -11,6 +11,8 @@ local ctype
---@class ffi.cdecl*: string
---@class ffi.cdata*: userdata
+---@class ffi.ref<T>: {[0]:T}, ffi.cdata*
+
---@alias ffi.ct* ffi.ctype*|ffi.cdecl*|ffi.cdata*
---@class ffi.cb*: ffi.cdata*
local cb