[svn:parrot] r41840 - branches/pcc_reapply/src/call

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Oct 13 19:53:34 UTC 2009


Author: bacek
Date: Tue Oct 13 19:53:31 2009
New Revision: 41840
URL: https://trac.parrot.org/parrot/changeset/41840

Log:
[cage] Don't use const pointers in from_continuation functions. They are not const

Modified:
   branches/pcc_reapply/src/call/args.c

Modified: branches/pcc_reapply/src/call/args.c
==============================================================================
--- branches/pcc_reapply/src/call/args.c	Tue Oct 13 14:20:57 2009	(r41839)
+++ branches/pcc_reapply/src/call/args.c	Tue Oct 13 19:53:31 2009	(r41840)
@@ -2425,7 +2425,7 @@
 string_arg_from_continuation(PARROT_INTERP, ARGIN(PMC *cs), INTVAL arg_index)
 {
     ASSERT_ARGS(string_arg_from_continuation)
-    const STRING *ret      = VTABLE_get_string_keyed_int(interp, cs, arg_index);
+    STRING *ret      = VTABLE_get_string_keyed_int(interp, cs, arg_index);
     return ret;
 }
 
@@ -2434,7 +2434,7 @@
 pmc_arg_from_continuation(PARROT_INTERP, ARGIN(PMC *cs), INTVAL arg_index)
 {
     ASSERT_ARGS(pmc_arg_from_continuation)
-    const PMC *ret      = VTABLE_get_pmc_keyed_int(interp, cs, arg_index);
+    PMC *ret      = VTABLE_get_pmc_keyed_int(interp, cs, arg_index);
     return ret;
 }
 


More information about the parrot-commits mailing list