diff options
author | Niko Tyni <ntyni@debian.org> | 2010-11-06 06:18:15 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-06 06:29:35 -0700 |
commit | 0b06a75363d6bf6cd309efd90b7182a041a1f4f1 (patch) | |
tree | 952044ec2b15985c4376077be4c24bd373af4218 /pod/perlcall.pod | |
parent | 54f31609179a66b324c59d37ad085e593f4ab2d7 (diff) | |
download | perl-0b06a75363d6bf6cd309efd90b7182a041a1f4f1.tar.gz |
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.
Diffstat (limited to 'pod/perlcall.pod')
-rw-r--r-- | pod/perlcall.pod | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perlcall.pod b/pod/perlcall.pod index 1694848986..e32e77e25f 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -121,10 +121,9 @@ been warned. =head1 FLAG VALUES -The C<flags> parameter in all the I<call_*> functions is a bit mask -which can consist of any combination of the symbols defined below, -OR'ed together. - +The C<flags> parameter in all the I<call_*> functions is one of G_VOID, +G_SCALAR, or G_ARRAY, which indicate the call context, OR'ed together +with a bit mask of any combination of the other G_* symbols defined below. =head2 G_VOID |