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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Sat Jun 19 12:05:47 UTC 2010


Author: NotFound
Date: Sat Jun 19 12:05:46 2010
New Revision: 47708
URL: https://trac.parrot.org/parrot/changeset/47708

Log:
there is no such thing as a VTABLE slice

Modified:
   trunk/src/pmc/hash.pmc

Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc	Sat Jun 19 11:59:02 2010	(r47707)
+++ trunk/src/pmc/hash.pmc	Sat Jun 19 12:05:46 2010	(r47708)
@@ -1080,26 +1080,6 @@
 
 /*
 
-=item C<PMC *slice(PMC *key)>
-
-Return a new iterator for the slice PMC C<key>
-
-=cut
-
-*/
-
-    VTABLE PMC *slice(PMC *key, INTVAL f) {
-        if (f == 0) {
-            return SELF.get_iter();
-        }
-
-        Parrot_ex_throw_from_c_args(INTERP, NULL, EXCEPTION_OUT_OF_BOUNDS,
-            "Hash: Unknown slice type");
-    }
-
-
-/*
-
 =item C<void visit(PMC *info)>
 
 Used during archiving to visit the elements in the hash.


More information about the parrot-commits mailing list