Branch: refs/heads/leont/clone-argument Home: https://github.com/Perl/perl5 Commit: 30ddc5bb6b3ac3a45b934e6d41d96089c6ecbfd7 https://github.com/Perl/perl5/commit/30ddc5bb6b3ac3a45b934e6d41d96089c6ecbfd7 Author: Leon Timmermans <faw...@gmail.com> Date: 2025-05-24 (Sat, 24 May 2025)
Changed paths: M ext/Hash-Util-FieldHash/FieldHash.xs M ext/Hash-Util-FieldHash/lib/Hash/Util/FieldHash.pm 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