develooper Front page | perl.perl6.internals | Postings from February 2001

Re: PDD 2, vtables

Thread Previous | Thread Next
From:
Simon Cozens
Date:
February 18, 2001 18:50
Subject:
Re: PDD 2, vtables
Message ID:
20010219025007.A10779@pembro26.pmb.ox.ac.uk
On Sun, Feb 18, 2001 at 09:34:46PM -0500, Dan Sugalski wrote:
> At 01:13 AM 2/19/2001 +0000, Alan Burlison wrote:
> >Dan Sugalski wrote:
> >
> > > Grab one via a utility function. getPMC() or something of the sort.
> >
> >newPMC() ? ;-)
> 
> Works for me.

Slight that-sucks alert: So, if I have to get a new PMC of class X (which is
something that's going to have to happen often) I call
    X->vtbl->new(newPMC())
or
    X->vtbl->morph(newPMC(),X);
?

-- 
   It's is not, it isn't ain't, and it's it's, not its, if you mean it
   is. If you don't, it's its. Then too, it's hers. It isn't her's. It
   isn't our's either. It's ours, and likewise yours and theirs.
                -- Oxford University Press, Edpress News

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About