[PD] attached

=?X-UNKNOWN?Q?g=FCnter_geiger?= geiger at xdv.org
Wed Jun 29 15:16:47 CEST 2005


On Wed, 29 Jun 2005, Ed Kelly wrote:
> > >>>  simile_class = class_new(gensym("simile")),

remove the second closing parenthesis. The compiler assumes that
gensym("simile") is the only argument in your code.

Guenter

> > >>>  (t_newmethod)simile_new,
> > >>>  0, sizeof(t_simile),
> > >>>  CLASS_DEFAULT,
> > >>>  A_DEFFLOAT, 0.01);
> > >>
> > >>should be:
> > >>
> > >> > void simile_setup(void) {
> > >> >   simile_class = class_new(gensym("simile")),
> > >> >   (t_newmethod)simile_new,
> > >> >   0, sizeof(t_simile),
> > >> >   CLASS_DEFAULT,
> > >> >   A_DEFFLOAT, 0);
> >
> > And if you use 0 instead of CLASS_DEFAULT???
> >
> > Olaf
> >
> >
>
>
> Dr Edward Kelly
> Research Assistant in Sonic Arts
> London College of Communication
> University of the Arts London
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com





More information about the Pd-list mailing list