From: David Mitchell Date: Sat, 5 Jun 2010 11:46:09 +0000 (+0100) Subject: update Perl_magic_methcall description X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a1a5af7b042b1599e52170095e55b02673d4c53;p=p5sagit%2Fp5-mst-13.2.git update Perl_magic_methcall description it's now a varargs function --- 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.