[svn:parrot] r39202 - branches/io_rewiring/src/pmc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed May 27 22:57:15 UTC 2009


Author: whiteknight
Date: Wed May 27 22:57:15 2009
New Revision: 39202
URL: https://trac.parrot.org/parrot/changeset/39202

Log:
[io_rewiring] a few fixes, and handles now does 'IO'

Modified:
   branches/io_rewiring/src/pmc/handle.pmc

Modified: branches/io_rewiring/src/pmc/handle.pmc
==============================================================================
--- branches/io_rewiring/src/pmc/handle.pmc	Wed May 27 22:13:03 2009	(r39201)
+++ branches/io_rewiring/src/pmc/handle.pmc	Wed May 27 22:57:15 2009	(r39202)
@@ -18,6 +18,7 @@
 
 */
 
+#include "parrot/parrot.h"
 #include "../src/io/io_private.h"
 
 pmclass Handle provides Handle need_ext {
@@ -35,10 +36,8 @@
     }
 
     VTABLE INTVAL does(STRING * role) {
-        /*
-        if (Parrot_str_equal(interp, role, Parrot_str_new(INTERP, "IO"))
+        if (Parrot_str_equal(interp, role, Parrot_str_new(INTERP, "IO", 2)))
             return 1;
-        */
         return 0;
     }
 }


More information about the parrot-commits mailing list