aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-04-29 10:44:45 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-04-29 10:44:45 +0000
commit130d29eab337bbd0104eaf86f3f59387d1653372 (patch)
treecdbd03ce67a295b2c80cab5798ca9411d2b0d415
parentec1e871abbe253dedb7cfcf0962f49c825983aa9 (diff)
fixed terminating "0" in class_addmethod
svn path=/trunk/externals/iem16/; revision=7618
-rw-r--r--src/iem16_table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/iem16_table.c b/src/iem16_table.c
index 96daf88..fd9d585 100644
--- a/src/iem16_table.c
+++ b/src/iem16_table.c
@@ -219,11 +219,11 @@ void table16_setup(void){
table16_class = class_new(gensym("table16"),
(t_newmethod)table16_new, (t_method)table16_free,
sizeof(t_table16), 0, A_DEFSYM, A_DEFFLOAT, 0);
- class_addmethod(table16_class, (t_method)table16_resize, gensym("resize"), A_DEFFLOAT);
- class_addmethod(table16_class, (t_method)table16_const, gensym("const"), A_DEFFLOAT);
- class_addmethod(table16_class, (t_method)table16_from, gensym("from"), A_GIMME);
+ class_addmethod(table16_class, (t_method)table16_resize, gensym("resize"), A_DEFFLOAT, 0);
+ class_addmethod(table16_class, (t_method)table16_const, gensym("const"), A_DEFFLOAT, 0);
+ class_addmethod(table16_class, (t_method)table16_from, gensym("from"), A_GIMME, 0);
class_addmethod(table16_class, (t_method)table16_read16, gensym("read16"), A_SYMBOL,
- A_DEFFLOAT, A_DEFSYM, A_NULL);
+ A_DEFFLOAT, A_DEFSYM, 0);
}