diff options
author | Robin Houston <robin@cpan.org> | 2005-11-08 19:02:34 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-11-09 09:15:04 +0000 |
commit | 82f35e8b14e93ac697812d1b28d2e79e1ad82d84 (patch) | |
tree | 187ce522aca502f3e424ce2ff640ed2ae0d355a6 /pod/perlcall.pod | |
parent | 9fcbb300ff0020e9c959238b23201b62e75039f8 (diff) | |
download | perl-82f35e8b14e93ac697812d1b28d2e79e1ad82d84.tar.gz |
Re: [perl #32383] DProf breaks List::Util::shuffle
Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26054
Diffstat (limited to 'pod/perlcall.pod')
-rw-r--r-- | pod/perlcall.pod | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pod/perlcall.pod b/pod/perlcall.pod index 4b77359e25..7878ef9e9d 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -1899,14 +1899,12 @@ it. It's also inherently slower.) The pattern of macro calls is like this: - dMULTICALL; /* Declare variables (including 'CV* cv') */ + dMULTICALL; /* Declare local variables */ I32 gimme = G_SCALAR; /* context of the call: G_SCALAR, * G_LIST, or G_VOID */ - /* Here you must arrange for 'cv' to be set to the CV of - * the sub you want to call. */ - - PUSH_MULTICALL; /* Set up the calling context */ + PUSH_MULTICALL(cv); /* Set up the context for calling cv, + and set local vars appropriately */ /* loop */ { /* set the value(s) af your parameter variables */ |