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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Fri Apr 17 12:05:14 UTC 2009


Author: NotFound
Date: Fri Apr 17 12:05:13 2009
New Revision: 38173
URL: https://trac.parrot.org/parrot/changeset/38173

Log:
[cage] fix some const qualifiers in packfile pmcs

Modified:
   trunk/src/pmc/packfileconstanttable.pmc
   trunk/src/pmc/packfilerawsegment.pmc

Modified: trunk/src/pmc/packfileconstanttable.pmc
==============================================================================
--- trunk/src/pmc/packfileconstanttable.pmc	Fri Apr 17 11:22:38 2009	(r38172)
+++ trunk/src/pmc/packfileconstanttable.pmc	Fri Apr 17 12:05:13 2009	(r38173)
@@ -109,8 +109,8 @@
     VTABLE void set_pointer(void * pointer) {
         Parrot_PackfileConstantTable_attributes * attrs =
                 PARROT_PACKFILECONSTANTTABLE(SELF);
-        const PackFile_ConstTable const * table =
-                (const PackFile_ConstTable const *)(pointer);
+        const PackFile_ConstTable * const table =
+                (const PackFile_ConstTable *)(pointer);
         const PackFile_Constant * val;
         opcode_t i;
 

Modified: trunk/src/pmc/packfilerawsegment.pmc
==============================================================================
--- trunk/src/pmc/packfilerawsegment.pmc	Fri Apr 17 11:22:38 2009	(r38172)
+++ trunk/src/pmc/packfilerawsegment.pmc	Fri Apr 17 12:05:13 2009	(r38173)
@@ -101,8 +101,8 @@
 */
 
     VTABLE void set_pointer(void * pointer) {
-        const PackFile_Segment const * pfseg =
-                (const PackFile_Segment const *)pointer;
+        const PackFile_Segment * const pfseg =
+                (const PackFile_Segment *)pointer;
         PMC * opcodes = PARROT_PACKFILERAWSEGMENT(SELF)->opcodes;
         size_t i;
 


More information about the parrot-commits mailing list