[svn:mod_parrot] r606 - mod_parrot/trunk/src

[email protected] Fri, 6 Feb 2009 06:16:46 -0800 (PST)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Feb  6 06:16:45 2009
New Revision: 606

Modified:
   mod_parrot/trunk/src/nci.c
   mod_parrot/trunk/src/parrot_util.c

Log:
replace deprecated SArray with RPA



Modified: mod_parrot/trunk/src/nci.c
==============================================================================
--- mod_parrot/trunk/src/nci.c	(original)
+++ mod_parrot/trunk/src/nci.c	Fri Feb  6 06:16:45 2009
@@ -340,7 +340,7 @@
         handler_info->id = apr_pstrdup(ctxp->pconf, id);
     }
 
-    typenum = Parrot_PMC_typenum(interp, "SArray");
+    typenum = Parrot_PMC_typenum(interp, "ResizablePMCArray");
     handler = (Parrot_PMC)Parrot_PMC_new(interp, typenum);
     /* XXX how do we unregister this after it's used? */
     Parrot_register_pmc(interp, handler);
@@ -395,7 +395,7 @@
         handler_info->id = apr_pstrdup(ctxp->pconf, id);
     }
 
-    typenum = Parrot_PMC_typenum(interp, "SArray");
+    typenum = Parrot_PMC_typenum(interp, "ResizablePMCArray");
     handler = (Parrot_PMC)Parrot_PMC_new(interp, typenum);
     /* XXX how do we unregister this after it's used? */
     Parrot_register_pmc(interp, handler);

Modified: mod_parrot/trunk/src/parrot_util.c
==============================================================================
--- mod_parrot/trunk/src/parrot_util.c	(original)
+++ mod_parrot/trunk/src/parrot_util.c	Fri Feb  6 06:16:45 2009
@@ -55,7 +55,7 @@
     Parrot_PMC namespace;
     int typenum;
 
-    typenum = Parrot_PMC_typenum(interp, "SArray");
+    typenum = Parrot_PMC_typenum(interp, "ResizablePMCArray");
     namespace = (Parrot_PMC)Parrot_PMC_new(interp, typenum);
     Parrot_register_pmc(interp, namespace);
     Parrot_PMC_set_intval(interp, namespace, 3);