Branch: refs/heads/leont/clone-argument Home: https://github.com/Perl/perl5 Commit: e330bca4cd41a1c5fcd017b5d579a4e0aaaf571a https://github.com/Perl/perl5/commit/e330bca4cd41a1c5fcd017b5d579a4e0aaaf571a Author: Leon Timmermans <faw...@gmail.com> Date: 2025-07-17 (Thu, 17 Jul 2025)
Changed paths: M ext/Hash-Util-FieldHash/FieldHash.xs M ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm M pod/perlmod.pod M sv.c Log Message: ----------- Pass clone parameter to CLONE methods as a UV Any CLONE method that needs to call sv_clone and friends needs to pass this on as an argument. On older releases such an argument would not be passed, so they would need to take it as an optional argument to work in both cases. E.g. void CLONE(SV* classname, UV uv_params = 0) CODE: CLONE_PARAMS* params = INT2PTR(params); That means this change can break XS modules not taking the extra argument into account. Fortunately most modules have cargo-culted a CLONE(...) from perlxs so they're safe from this change. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications