How to say "provides foo" in PIR?

chromatic chromatic at wgz.org
Mon Jan 19 08:20:08 UTC 2009


On Monday 19 January 2009 00:11:11 Will Coleda wrote:

> When constructing a PMC, I can say "provides something" in the pmclass
> declaration. I just tried converting a PMC with this annotation to
> PIR, and couldn't find a way to set this.
>
> Looks like that declaration modifies the provides_str member of the
> PMC; searching for provides_str gives me (outside of the PMC code
> generation), no way to set this.
>
> Any suggestions?

Override the 'does' vtable entry.

-- c


More information about the parrot-dev mailing list