This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
G_VOID, G_SCALAR, and G_ARRAY are not separate bits anymore
authorNiko Tyni <ntyni@debian.org>
Sat, 6 Nov 2010 13:18:15 +0000 (06:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 6 Nov 2010 13:29:35 +0000 (06:29 -0700)
commit0b06a75363d6bf6cd309efd90b7182a041a1f4f1
tree952044ec2b15985c4376077be4c24bd373af4218
parent54f31609179a66b324c59d37ad085e593f4ab2d7
G_VOID, G_SCALAR, and G_ARRAY are not separate bits anymore

Commit 2f8edad0d37e91319b6ba10b3745327ea49c179 made G_ARRAY
equal to G_SCALAR | G_VOID, contrary to perlcall.pod.

Bring the documentation up to date and add a test to prevent a similar
(although unlikely) accident in the future.
ext/XS-APItest/t/call.t
pod/perlcall.pod