On Wed, Oct 8, 2008 at 4:56 PM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:

> The problem appears to be that src/pmc/complex.pmc makes use of
> RE() and IM() macros that no longer work for subclasses of the Complex PMC
> and try to poke float values directly into the PMC struct.  Unfortunately,
> a PMC that is from a subclass of Complex isn't a Complex PMC but an Object 
> PMC,
> so things go haywire from there.

I make some attempts to use SET_ATTR_re,im and GET_ATTRre,im instead
of the RE and IM macros, but found a problem: in non multi vtable
functions it works, but in multis it says that the attribute does not
exists. I looked at self's class name in both cases, with non multi it
says 'Complex', and with multis it says the pir child class name.
Don't know how to address this issue.

-- 
Salu2

Reply via email to