NAME ^

src/pmc/ref.pmc - Reference to a PMC

DESCRIPTION ^

The vtable functions for the Ref base class.

All methods not present below get a default body autogenerated inside Parrot::Pmc2c.

Methods ^

void init()

Sets the referenced PMC to PMCNULL.

void init_pmc(PMC *initializer)

Sets the referenced PMC to initializer.

void mark()

Marks the referenced PMC as live.

PMC *clone()

Return ourself.

This method must be implemented because they are not delegated.

STRING *name()

Returns the name of the PMC, not the name of the referenced PMC.

HISTORY ^


parrot