In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1a1a5af7b042b1599e52170095e55b02673d4c53?hp=7c75014e4b3bd5ebe368b5d6b981f310525d1389>
- Log ----------------------------------------------------------------- commit 1a1a5af7b042b1599e52170095e55b02673d4c53 Author: David Mitchell <[email protected]> Date: Sat Jun 5 12:46:09 2010 +0100 update Perl_magic_methcall description it's now a varargs function ----------------------------------------------------------------------- Summary of changes: mg.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mg.c b/mg.c index 24561a2..7027605 100644 --- a/mg.c +++ b/mg.c @@ -1651,12 +1651,11 @@ Invoke a magic method (like FETCH). * sv and mg are the tied thinggy and the tie magic; * meth is the name of the method to call; -* argc, arg1, arg2 are the number of args (in addition to $self) to pass to - the method, and the args themselves +* argc is the number of args (in addition to $self) to pass to the method; + the args themselves are any values following the argc argument. * flags: G_DISCARD: invoke method with G_DISCARD flag and don't return a value - G_UNDEF_FILL: fill the stack with argc pointers to PL_sv_undef; - ignore arg1 and arg2. + G_UNDEF_FILL: fill the stack with argc pointers to PL_sv_undef. Returns the SV (if any) returned by the method, or NULL on failure. -- Perl5 Master Repository
