On Thursday 13 September 2007 18:17:21 [EMAIL PROTECTED] wrote: > @@ -134,23 +48,15 @@ > All PMCs have the form: > > struct PMC { > - pobj_t obj; > + UnionVal cache; > + Parrot_UInt flags; > VTABLE *vtable; > PMC *real_self; > - #if ! PMC_DATA_IN_EXT > DPOINTER *data; > - #endif > struct PMC_EXT *pmc_ext; > }; > > -where C<obj> is a pointer to a C<pobj_t> structure: > - > - typedef struct pobj_t { > - UnionVal u; > - Parrot_UInt flags; > - } pobj_t; > - > -and where: > +where C<cache> is a pointer to a C<UnionVal> union:
I'm not sure that's true. *vtable is a pointer to a VTABLE, but I believe that the UnionVal struct members get flattened into the PMC struct directly, as if they were declared as PMC struct members directly. -- c