writing externals

Johannes M ZMÖLNIG madman at sbox.tu-graz.ac.at
Mon Apr 19 19:03:01 CEST 1999



Miller Puckette schrieb:

> >     class_addmethod(any_class, anyfunction, gensym("float"), 0);
>
> > Did you do this on purpose ( to distinguish between floats and
> > "float"-symbols) ?
>
> The correct call would be,
>     class_addmethod(any_class, anyfunction, gensym("float"), A_FLOAT, 0);
> otherwise Pd won't send the argument.  This should be exactly equivalent to
>     class_addfloat(any_class, anyfunction);
> which is just a convenience routine.

Now, what confused me is, that my externals (excluding the forgotten A_FLOAT ;o)
worked on pd0.24 and they didn't work ANY LONGER on pd0.25_3, and so I thought of a
bug. (Was it a bug, when it worked *correctly* ???)

hannes

--
jOhannes M
 forum::für::umläute
zmÖlnig






More information about the Pd-list mailing list