[svn:parrot] r40528 - branches/auto_attrs/src/pmc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Thu Aug 13 20:17:30 UTC 2009


Author: NotFound
Date: Thu Aug 13 20:17:29 2009
New Revision: 40528
URL: https://trac.parrot.org/parrot/changeset/40528

Log:
drop unneeded init functions in resizable arrays PMCs

Modified:
   branches/auto_attrs/src/pmc/resizablefloatarray.pmc
   branches/auto_attrs/src/pmc/resizableintegerarray.pmc
   branches/auto_attrs/src/pmc/resizablestringarray.pmc

Modified: branches/auto_attrs/src/pmc/resizablefloatarray.pmc
==============================================================================
--- branches/auto_attrs/src/pmc/resizablefloatarray.pmc	Thu Aug 13 20:14:42 2009	(r40527)
+++ branches/auto_attrs/src/pmc/resizablefloatarray.pmc	Thu Aug 13 20:17:29 2009	(r40528)
@@ -23,21 +23,6 @@
 pmclass ResizableFloatArray extends FixedFloatArray need_ext auto_attrs provides array {
     ATTR INTVAL resize_threshold; /* max size before array needs resizing */
 
-
-
-/*
-
-=item C<void init()>
-
-Initializes this array.
-
-=cut
-
-*/
-    VTABLE void init() {
-        SUPER();
-    }
-
 /*
 
 =item C<FLOATVAL get_number_keyed_int(INTVAL key)>

Modified: branches/auto_attrs/src/pmc/resizableintegerarray.pmc
==============================================================================
--- branches/auto_attrs/src/pmc/resizableintegerarray.pmc	Thu Aug 13 20:14:42 2009	(r40527)
+++ branches/auto_attrs/src/pmc/resizableintegerarray.pmc	Thu Aug 13 20:17:29 2009	(r40528)
@@ -25,19 +25,6 @@
 
 /*
 
-=item C<void init()>
-
-Initializes the array.
-
-=cut
-
-*/
-    VTABLE void init() {
-        SUPER();
-    }
-
-/*
-
 =item C<INTVAL get_integer_keyed_int(INTVAL key)>
 
 Returns the integer value of the element at index C<key>.

Modified: branches/auto_attrs/src/pmc/resizablestringarray.pmc
==============================================================================
--- branches/auto_attrs/src/pmc/resizablestringarray.pmc	Thu Aug 13 20:14:42 2009	(r40527)
+++ branches/auto_attrs/src/pmc/resizablestringarray.pmc	Thu Aug 13 20:17:29 2009	(r40528)
@@ -27,20 +27,6 @@
 
 =over 4
 
-=item C<void init()>
-
-Initializes the array.
-
-=cut
-
-*/
-
-    VTABLE void init() {
-        SUPER();
-    }
-
-/*
-
 =item C<STRING *get_string_keyed_int(INTVAL key)>
 
 Returns the Parrot string value of the element at index C<key>.


More information about the parrot-commits mailing list