[svn:parrot] r44974 - branches/pcc_hackathon_6Mar10/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Mar 16 21:59:54 UTC 2010


Author: chromatic
Date: Tue Mar 16 21:59:54 2010
New Revision: 44974
URL: https://trac.parrot.org/parrot/changeset/44974

Log:
[PMC] Replaced deprecated Parrot_PCCINVOKE() with
Parrot_pcc_invoke_method_from_c_args().

Modified:
   branches/pcc_hackathon_6Mar10/src/pmc/role.pmc

Modified: branches/pcc_hackathon_6Mar10/src/pmc/role.pmc
==============================================================================
--- branches/pcc_hackathon_6Mar10/src/pmc/role.pmc	Tue Mar 16 21:56:43 2010	(r44973)
+++ branches/pcc_hackathon_6Mar10/src/pmc/role.pmc	Tue Mar 16 21:59:54 2010	(r44974)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2001-2008, Parrot Foundation.
+Copyright (C) 2001-2010, Parrot Foundation.
 $Id$
 
 =head1 NAME
@@ -127,13 +127,13 @@
      * need to unset ourselves in the old namespace. */
     if (!PMC_IS_NULL(old_ns) && role->_namespace != old_ns) {
         STRING * const set_class_str = CONST_STRING(interp, "set_class");
-        Parrot_PCCINVOKE(interp, old_ns, set_class_str, "P->", PMCNULL);
+        Parrot_pcc_invoke_method_from_c_args(interp, old_ns, set_class_str, "P->", PMCNULL);
     }
 
     /* Link namespace to this role, if there is one. */
     if (!PMC_IS_NULL(role->_namespace)) {
         STRING * const set_class_str = CONST_STRING(interp, "set_class");
-        Parrot_PCCINVOKE(interp, role->_namespace, set_class_str, "P->", self);
+        Parrot_pcc_invoke_method_from_c_args(interp, role->_namespace, set_class_str, "P->", self);
     }
 
     /* Initialize roles, if we have any. */


More information about the parrot-commits mailing list