[svn:parrot] r47887 - trunk/tools/dev

petdance at svn.parrot.org petdance at svn.parrot.org
Sun Jun 27 03:50:10 UTC 2010


Author: petdance
Date: Sun Jun 27 03:50:08 2010
New Revision: 47887
URL: https://trac.parrot.org/parrot/changeset/47887

Log:
consting on ctx

Modified:
   trunk/tools/dev/nci_thunk_gen.pir

Modified: trunk/tools/dev/nci_thunk_gen.pir
==============================================================================
--- trunk/tools/dev/nci_thunk_gen.pir	Sun Jun 27 02:45:14 2010	(r47886)
+++ trunk/tools/dev/nci_thunk_gen.pir	Sun Jun 27 03:50:08 2010	(r47887)
@@ -639,7 +639,7 @@
     typedef %s(* func_t)(%s);
     func_t fn_pointer;
     void *orig_func;
-    PMC *       ctx         = CURRENT_CONTEXT(interp);
+    PMC * const ctx         = CURRENT_CONTEXT(interp);
     PMC * const call_object = Parrot_pcc_get_signature(interp, ctx);
     PMC *       ret_object  = PMCNULL;
     %s


More information about the parrot-commits mailing list