summaryrefslogtreecommitdiff
path: root/pod/perlcall.pod
diff options
context:
space:
mode:
authorabela@geneanet.org <abela@geneanet.org>2001-02-08 17:11:46 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-09 17:59:09 +0000
commit087fe2279b25c4cb7ed0ead046e59772528a119c (patch)
tree53ae7bbd85616b33f74deec5c54e4a3c7bdffbe5 /pod/perlcall.pod
parent3d61b2bcb947517e114013565c3dbe5cc91e1fad (diff)
downloadperl-087fe2279b25c4cb7ed0ead046e59772528a119c.tar.gz
[ID 20010208.002] unordered explanation in perlcall
Message-Id: <20010208151146.0937BC97E@little-roots.geneanet.org> p4raw-id: //depot/perl@8745
Diffstat (limited to 'pod/perlcall.pod')
-rw-r--r--pod/perlcall.pod16
1 files changed, 6 insertions, 10 deletions
diff --git a/pod/perlcall.pod b/pod/perlcall.pod
index 94edd342f4..40f1d65a7b 100644
--- a/pod/perlcall.pod
+++ b/pod/perlcall.pod
@@ -589,12 +589,6 @@ local copy, I<not> the global copy.
=item 4.
-The only flag specified this time is G_DISCARD. Because we are passing 2
-parameters to the Perl subroutine this time, we have not specified
-G_NOARGS.
-
-=item 5.
-
Next, we come to XPUSHs. This is where the parameters actually get
pushed onto the stack. In this case we are pushing a string and an
integer.
@@ -602,7 +596,7 @@ integer.
See L<perlguts/"XSUBs and the Argument Stack"> for details
on how the XPUSH macros work.
-=item 6.
+=item 5.
Because we created temporary values (by means of sv_2mortal() calls)
we will have to tidy up the Perl stack and dispose of mortal SVs.
@@ -632,10 +626,12 @@ to limit the scope of local variables.
See the section I<Using Perl to dispose of temporaries> for details of
an alternative to using these macros.
-=item 7.
+=item 6.
-Finally, I<LeftString> can now be called via the I<call_pv>
-function.
+Finally, I<LeftString> can now be called via the I<call_pv> function.
+The only flag specified this time is G_DISCARD. Because we are passing
+2 parameters to the Perl subroutine this time, we have not specified
+G_NOARGS.
=back