Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alllow undef as argument to closure method #377

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

plicease
Copy link
Member

@plicease plicease commented Oct 24, 2022

This is for #376. Basically undef is a valid argument to a closure, and passing through an undef makes code a little cleaner, where it is a common pattern to pass NULL into a function that takes a function pointer.

@plicease plicease merged commit 98937f2 into main Oct 24, 2022
@plicease plicease deleted the graham/closure-undef branch October 24, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant