[svn:parrot] r37078 - trunk/src/pmc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Mar 2 15:56:28 UTC 2009


Author: NotFound
Date: Mon Mar  2 15:56:27 2009
New Revision: 37078
URL: https://trac.parrot.org/parrot/changeset/37078

Log:
[cage] add a cast and fix some spellings in coroutine.pmc

Modified:
   trunk/src/pmc/coroutine.pmc

Modified: trunk/src/pmc/coroutine.pmc
==============================================================================
--- trunk/src/pmc/coroutine.pmc	Mon Mar  2 14:11:51 2009	(r37077)
+++ trunk/src/pmc/coroutine.pmc	Mon Mar  2 15:56:27 2009	(r37078)
@@ -65,11 +65,11 @@
 
 =item C<void init()>
 
-Initializes the co-routine.
+Initializes the coroutine.
 
 =item C<PMC *clone()>
 
-Clone the couroutine.
+Clone the coroutine.
 
 =cut
 
@@ -110,7 +110,7 @@
 
         PObj_custom_mark_destroy_SETALL(ret);
 
-        SET_ATTR_sub(INTERP, ret, coro_sub);
+        SET_ATTR_sub(INTERP, ret, (Parrot_sub *)coro_sub);
 
         PMC_get_sub(INTERP, SELF, sub);
         memcpy(coro_sub, sub, sizeof (Parrot_coro));


More information about the parrot-commits mailing list