[PD-dev] class_addmethod

august august at alien.mur.at
Thu Sep 25 00:11:40 CEST 2003


Krzysytof,

thanks.  some ppl had written me off list with the tip. 

I still don't understand exactly whay this is....but, now I got it right.
And, I didn't find it any docs. maybe im reading the wrong ones.

thanks-august.


> hi august,
> 
> t_symbol* args of a method handler are to be declared first --
> that is how they are passed to it by the Pd message parser.
> So, although 'blah' does actually expect messages of the form
> 'test <float> <symbol>', as specified in class_addmethod(), still
> the handler's prototype needs to be (note the 'static' spec too):
> 
> static void blah_func(t_blah *x, t_symbol *s, t_float f)
> 
> Wonder, if this is covered in any docs?






More information about the Pd-dev mailing list