On Tuesday 10 June 2008 09:54:02 Will Coleda wrote:

> >> Is this right? Do we need to copy and modify this everywhere we want
> >> to use ATTR? It seems like, if this wrangling is actually necessary,
> >> that we should be automatically constructing set_attr_str() with the
> >> pmc2c compiler.
> >
> > The version in Exception is a lot simpler; that may be the way to go.

> It appears to just move the magic to get_attrib_index.

Sure, but you can share code between get_attr_str and set_attr_str that way.  
They're all automatically generatable from pmc2c, at least if you don't have 
those specific entries in your PMC already.

-- c

Reply via email to