Skip to content

Commit b25d303

Browse files
authored
Merge pull request #881 from phanen/ffi-return-type
chore: ffi.new missing return types
2 parents fa1540d + 3f94af5 commit b25d303

File tree

1 file changed

+1
-1
lines changed
  • crates/emmylua_code_analysis/resources/std

1 file changed

+1
-1
lines changed

crates/emmylua_code_analysis/resources/std/ffi.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function ffi.cdef(def, params, ...) end
3636
---@nodiscard
3737
function ffi.load(name, global) end
3838

39-
---@overload fun(ct: ffi.ct*, init: any, ...)
39+
---@overload fun(ct: ffi.ct*, init: any, ...): ffi.cdata*
4040
---@param ct ffi.ct*
4141
---@param nelem? integer
4242
---@param init? any

0 commit comments

Comments
 (0)