This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
APItest/t/utf8_setup.pl: Add #define equivalent
authorKarl Williamson <khw@cpan.org>
Wed, 17 May 2017 17:27:03 +0000 (11:27 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 1 Jun 2017 12:33:17 +0000 (06:33 -0600)
commita228a8afb50e88ba96ea16ae01a557e4b3d3e2f9
tree1b42ddccb622b31354e3bdc7609f4f46261da101
parent725a67e540ba5cb03c83ba1ed0541f2cc088b3b1
APItest/t/utf8_setup.pl: Add #define equivalent

I don't know of an easy way to automatically import hdr file constants
into Perl code (and if there were one, there are plenty of existing
modules that don't take advantage of it), and so they get copied and
pasted into Perl, and changed enough to match Perl syntax.  When the
constants change, the Perl code must be manually updated.  Here, a new
constant was added, and now the Perl is being updated to match.
ext/XS-APItest/t/utf8_setup.pl