This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change enum names for new locale function parameters
authorKarl Williamson <khw@cpan.org>
Thu, 8 Mar 2018 17:51:09 +0000 (10:51 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 12 Mar 2018 16:17:14 +0000 (10:17 -0600)
commit4e6826bf86819426cea8be0677b2a3282834ced5
treef6147ff2cdcfbcfada8c2f47ddfb31ec56723728
parent4806e6cd41dafb8b1e990f0c6d1d5ff8b3f64fb6
Change enum names for new locale function parameters

Earlier in the 5.27 series, I introduced Perl_langinfo which calls
the system nl_langinfo() on platforms that have it, and emulates it
otherwise.  For each enum parameter 'foo', I made an equivalent
parameter PERL_foo.  I did this so that no conflicts would arise if
any 'foo' were negative.  This is less than ideal to have to rename the
parameters.

In looking further, I realized that perl has always excluded the
possibility of negative values for 'foo', so my precaution is
unnecessary.  And before this new code is released is the time to fix up
the interface.
ext/XS-APItest/t/locale.t
locale.c
perl_langinfo.h
pod/perldelta.pod