PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
89 stars 23 forks source link

alllow undef as argument to closure method #377

Closed plicease closed 1 year ago

plicease commented 1 year ago

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.