diff options
author | Voycawojka <filip.artur.kowalski@gmail.com> | 2022-10-05 16:57:14 +0200 |
---|---|---|
committer | Voycawojka <filip.artur.kowalski@gmail.com> | 2022-10-05 16:57:14 +0200 |
commit | c0710ea402b8d78b70006f0cc4f7d5fbc2225f4c (patch) | |
tree | c28a2ef498763714e2bb66fbd9648263ba931023 /meta/template | |
parent | a64871c9ebe79a43e389b712ed76ec4d537961aa (diff) | |
download | lua-language-server-c0710ea402b8d78b70006f0cc4f7d5fbc2225f4c.zip |
Make second param of ffi.gc optional
Diffstat (limited to 'meta/template')
-rw-r--r-- | meta/template/ffi.lua | 2 |
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 |