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);
         }

Reply via email to