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

petdance at svn.parrot.org petdance at svn.parrot.org
Sat Aug 14 22:56:56 UTC 2010


Author: petdance
Date: Sat Aug 14 22:56:55 2010
New Revision: 48494
URL: https://trac.parrot.org/parrot/changeset/48494

Log:
add a couple of constants

Modified:
   trunk/src/pmc/packfiledirectory.pmc

Modified: trunk/src/pmc/packfiledirectory.pmc
==============================================================================
--- trunk/src/pmc/packfiledirectory.pmc	Sat Aug 14 20:45:59 2010	(r48493)
+++ trunk/src/pmc/packfiledirectory.pmc	Sat Aug 14 22:56:55 2010	(r48494)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2001-2009, Parrot Foundation.
+Copyright (C) 2001-2010, Parrot Foundation.
 $Id$
 
 =head1 NAME
@@ -43,7 +43,7 @@
 
 */
     VTABLE void init() {
-        Parrot_PackfileDirectory_attributes * attrs =
+        Parrot_PackfileDirectory_attributes * const attrs =
                 PMC_data_typed(SELF, Parrot_PackfileDirectory_attributes*);
 
         attrs->hash = Parrot_pmc_new(INTERP, enum_class_Hash);
@@ -62,7 +62,7 @@
 */
 
     VTABLE void mark() {
-        Parrot_PackfileDirectory_attributes * attrs =
+        Parrot_PackfileDirectory_attributes * const attrs =
                 PARROT_PACKFILEDIRECTORY(SELF);
 
         Parrot_gc_mark_PMC_alive(INTERP, attrs->hash);


More information about the parrot-commits mailing list