Okay, I'm working on redoing the vtable docs, since they're both 
deficient and decaying. A question came up a while back about what to 
do with P1 in an opcode such as:

     add P1, P2, P3

And the answer is.... that opcode function looks like:

     p1->vtable->assign_pmc(p1, p2->vtable->add_pmc(p2, p3));

Which is to say we call P2's add function, take the return PMC from 
it, and then pass that returned (temp) PMC off to P1's "assign me a 
value from the passed in PMC" method, which is responsible for 
figuring out what the heck to do with what it's handed.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to