summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
authorVoycawojka <filip.artur.kowalski@gmail.com>2022-10-05 16:57:14 +0200
committerVoycawojka <filip.artur.kowalski@gmail.com>2022-10-05 16:57:14 +0200
commitc0710ea402b8d78b70006f0cc4f7d5fbc2225f4c (patch)
treec28a2ef498763714e2bb66fbd9648263ba931023 /meta/template
parenta64871c9ebe79a43e389b712ed76ec4d537961aa (diff)
downloadlua-language-server-c0710ea402b8d78b70006f0cc4f7d5fbc2225f4c.zip
Make second param of ffi.gc optional
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/ffi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua
index 833232d4..0d726c1e 100644
--- a/meta/template/ffi.lua
+++ b/meta/template/ffi.lua
@@ -57,7 +57,7 @@ function ffi.cast(ct, init) end
function ffi.metatype(ct, metatable) end
---@param cdata ffi.cdata*
----@param finalizer function
+---@param finalizer? function
---@return ffi.cdata* cdata
function ffi.gc(cdata, finalizer) end