]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commit
Upper.xs - in 5.37.6 cop_warnings became a char * (RCVP) rt146897
authorYves Orton <demerphq@gmail.com>
Sat, 4 Mar 2023 08:00:37 +0000 (09:00 +0100)
committerVincent Pit <vpit@cpan.org>
Sun, 26 Mar 2023 12:56:05 +0000 (14:56 +0200)
commitc8fb3ada01d8c1a6ac1a37778edb0fc9164d7bf1
tree19a1ddef5546c968faf67943feb96453ffa7e2b5
parentef4ac48db70f6d8dcaa21e6b67e7fbec7a50cf7b
Upper.xs - in 5.37.6 cop_warnings became a char * (RCVP)

It is actually a RCPV (RefCounted PV), so we can use RCPV_LEN() to
find its length.

Unfortunately there is not currently a way to "mortalize" a RCPV,
an oversight that I will correct in a future release of Perl. But
for now this should do.
Upper.xs