Author: Whiteknight
Date: Wed Aug 27 16:25:00 2008
New Revision: 30604

Modified:
   trunk/docs/pdds/draft/pdd11_extending.pod

Changes in other areas also in this revision:
Modified:
   trunk/src/extend.c
   trunk/src/inter_run.c

Log:
[DOCS] Document Parrot_call_method as per RT#36243. Also, document a function 
that is a dependency of this one.

Modified: trunk/docs/pdds/draft/pdd11_extending.pod
==============================================================================
--- trunk/docs/pdds/draft/pdd11_extending.pod   (original)
+++ trunk/docs/pdds/draft/pdd11_extending.pod   Wed Aug 27 16:25:00 2008
@@ -283,11 +283,13 @@
 up Parrot's registers in line with the Parrot calling conventions; see
 L<pdd03_calling_conventions.pod> for more details.
 
-=item C<Parrot_call_method(interp,
-Parrot_PMC sub, Parrot_String method, Parrot_Int argcount, ...)>
+=item C<Parrot_call_method(PARROT_INTERP, Parrot_PMC sub, Parrot_PMC obj,
+    Parrot_String method, ARGIN(const char *signature), ...)>
 
-Calls a Parrot method named C<method> with C<argcount> PMC parameters. NB.
-This is not yet implemented and may change.
+Call the parrot subroutine C<sub> as a method on PMC object C<obj>. The method
+should have the name C<method> as a Parrot_string, and should have a function
+signature C<signature>. Any arguments to the method can be passed at the end
+as a variadic argument list.
 
 =back
 

Reply via email to