Skip to content

Make second param of ffi.gc optional#1612

Merged
sumneko merged 1 commit into
LuaLS:masterfrom
Voycawojka:ffi-gc-type-definition
Oct 9, 2022
Merged

Make second param of ffi.gc optional#1612
sumneko merged 1 commit into
LuaLS:masterfrom
Voycawojka:ffi-gc-type-definition

Conversation

@Voycawojka
Copy link
Copy Markdown
Contributor

According to the LuaJIT ffi API reference nil is a valid value for the finalizer.

@sumneko sumneko merged commit 6282a10 into LuaLS:master Oct 9, 2022
@sumneko
Copy link
Copy Markdown
Collaborator

sumneko commented Oct 9, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants