develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35865 - trunk/src

From:
cotto
Date:
January 21, 2009 07:34
Subject:
[svn:parrot] r35865 - trunk/src
Message ID:
20090121153416.6888BCB9AE@x12.develooper.com
Author: cotto
Date: Wed Jan 21 07:34:14 2009
New Revision: 35865

Modified:
   trunk/src/oo.c

Log:
[pmc] another long pmc_x_val -> VTABLE conversion


Modified: trunk/src/oo.c
==============================================================================
--- trunk/src/oo.c	(original)
+++ trunk/src/oo.c	Wed Jan 21 07:34:14 2009
@@ -546,7 +546,7 @@
             PMC    *classname_hash = interp->class_hash;
             /* set entry in name->type hash */
             PMC    *item     = pmc_new(interp, enum_class_Integer);
-            PMC_int_val(item) = type;
+            VTABLE_set_integer_native(interp, item, type);
 
             VTABLE_set_pmc_keyed(interp, classname_hash, name, item);
         }



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About