This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
XS::APItest: Flatten src for utf16_to_utf8_reversed
authorFather Chrysostomos <sprout@cpan.org>
Thu, 12 Dec 2013 23:26:01 +0000 (15:26 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 17 Jan 2014 01:58:37 +0000 (17:58 -0800)
commita4d7a71bfbcf858b69074d4736f0d350903d6779
tree2e8439e4589e276f44dceab38be5865ac8a1feff
parent83d6f158711260fab9a16e49203c65f2ba4fb00e
XS::APItest: Flatten src for utf16_to_utf8_reversed

utf16_to_utf8_reversed (the C function) modifies its input, so the XS
function of the same name should flatten the input to avoid modifying
shared buffers.

Brought to you by PERL_DEBUG_READONLY_COW.
ext/XS-APItest/APItest.xs