Hi Steve,

Did you find a solution for your problem yet?

I would guess that, in order to keep slots from an object A, your only option 
is to use "A new". Maybe afterwards it would be possible to assign A's vtable 
to the vtable slot of the resulting object?

Cheers,

Hans

On Tuesday 08 May 2007 02:04, Steve Folta wrote:
> _object.st says that "_vtable _delegated" returns "a new clone family
> delegating to the receiver"; I took that to mean that it returns a new
> vtable, as _vtable__delegated() in libid does.  However, the
> "_delegated" method of "_vtable" is never set in libid, so it ends up
> using _object___delegated().  I'm not sure how to describe what that
> returns (it *is* a vtable, but...), but it doesn't work well.
>
> Counting the underscores, there seems to be some ambiguity as to
> whether it's supposed to be "_vtable _delegated" (per _object.st) or
> "_vtable delegated" (per libid.c).
>
> Why do I even want this?  I'm trying to build a new prototype that has
> all its slots.  Sending "_delegated" to an object results in a new
> prototype with no slots.
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc

-- 
A liberal is a person whose interests aren't at stake at the moment
  -- Willis Player

Hans Schippers
Research Assistant of the Research Foundation - Flanders (FWO - Vlaanderen)
http://www.win.ua.ac.be/~hschipp/
Formal Techniques in Software Engineering (FoTS)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen - Belgium
Phone: +32 3 265 38 71
Fax: +32 3 265 37 77
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to