[PD-dev] class_addmethod

august august at alien.mur.at
Tue Sep 23 05:29:41 CEST 2003



can I not mix a float and a symbol in a function?  when I write a the
following function with just the float or just the symbol, it works fine.

otherwise, written as follows, pd crashes.

any help?  do I have to use a gimme for that?

thanks -august.

-----
void blah_func(t_blah *x, t_float f,  t_symbol *s)

  class_addmethod(blah_class, (t_method)blah_func,
	gensym("test"), A_DEFFLOAT, A_DEFSYMBOL,0);





More information about the Pd-dev mailing list