Closed plicease closed 1 year ago
Right now this throws an exception:
✅ doublethink% perl -MFFI::Platypus -E 'FFI::Platypus->new->closure(undef)' not a coderef at -e line 1.
but closure types can be undef, so I think it makes more sense to just pass it through as undef. Other non code refs should still throw the exception.
undef
Right now this throws an exception:
but closure types can be
undef
, so I think it makes more sense to just pass it through asundef
. Other non code refs should still throw the exception.