My understanding was that the value after A_DEFFLOAT was the default value, i.e. the value of argv if no arguments were passed to the object.
I changed the value to a 0 and got the same errors from the compiler!
Ed
--- Olaf Matthes olaf.matthes@gmx.de wrote:
Ed Kelly wrote:
void simile_setup(void) { simile_class = class_new(gensym("simile")), (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);
note the 0 at the end instead of 0.01!
Olaf
Dr Edward Kelly Research Assistant in Sonic Arts London College of Communication University of the Arts London
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com