[PD-dev] getting the classname in an class
Claude Heiland-Allen
claudiusmaximus at goto10.org
Sat Oct 27 10:36:52 CEST 2007
Mathieu Bouchard wrote:
> On Sat, 27 Oct 2007, Claude Heiland-Allen wrote:
>
>> See attached external and Pd patch for a solution (workaround?) using
>> an A_GIMME constructor, at least with pd-miller-0.40-2...
>
> This is because the first argument of the constructor is the same thing
> as the first element of the binbuf of the object, as that element is the
> selector in the message that is sent to [objectmaker]. So it does like
> what our latest solutions do, but because you get it from the
> constructor, you can only use it in the constructor or you have to store
> it. but it's already stored in the object, as the first element of the
> binbuf, so...
Ah, I didn't quite understand what was going on. Thanks for clarification.
(I was going to say requiring non-m_pd.h files was bad, but that's no
issue for modifying Pd itself...)
Thanks,
Claude
--
http://claudiusmaximus.goto10.org
More information about the Pd-dev
mailing list