summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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